jQuery JSON request gets a ‘200 OK’ answer but no content

That’s because you’re running afoul of the cross-domain request limitation of the XMLHttpRequest object used in jQuery’s AJAX features. Some browsers throw an empty 200 response when that happens (which is confusing).

You need to either use a service that supports JSONP, to circumvent the cross-domain issue, or use a server-side proxy on the same domain to act as a local intermediary.

200 just means that the request returned properly with no errors. It was a successful request.

A successful request can return no content, much like a SQL query returning no records.

You are trying to do Cross Site Ajax Request. Browsers block such manipulations as dangerous for security. Look here how to solve your problem:
Cross-site AJAX requests

Read more here: Source link