I am trying to get a json from Java, with a rest api developed in Django. The problem is that it apparently returns in html format. Testing the api from postman returns the json