You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Look at the readme for the content type response. You want a header with a "header('Content-Type: application/json');" typically. In this case the response will ignore it since it doesn't know what you really want to do with json, and so the default returned will be html. Whenever you request json you typically need to then parse the object (call json.parse in code and pass in the object returned as a a parameter ). Otherwise you'll keep getting an html object
Is it normal that I get html response instead of json? Trying to paste this in the console
gives me HTML response. Am I missing something? I already changed userID and doc_id etc but no luck
The text was updated successfully, but these errors were encountered: