I tried the following code in Postman and it was working. Is there something wrong with the code?
$.ajax({
url: \'http://api.example.com/users/get\',
t
I had the same problem and it kept me up for days. At the end, I realised that my URL pointing to the app was wrong altogether. example:
URL: 'http://api.example.com/'
URL: 'https://api.example.com/'.
If it's http or https verify.
Check the redirecting URL and make sure it's the same thing you're passing along.