JSON & JSONP
TMDB only uses JavaScript Object Notation(JSON) as the only text-based format for storing and displaying data.
if you are adding any body response to any of the endpoints, the format is like this:
Validating Request token with login details
If you are using a JavaScript library and need to make requests from another public domain, you can use the callback paramater which will encapsulate the JSON response in a JavaScript function for you.
Example JSONP Request