I am trying to do an ajax GET request from caph. I am getting the following error
Failed to load resource: the server responded with a status of 404 (Not Found).
For the same url I am getting the response in Browser. Also if I am trying to do the same ajax GET request for the different API on the different server, I am getting the response.
What could be the reason for this?
I was missing the Accept Header. Now it is working fine.