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
My problem was caused by the exact opposite of @ehacinom. My Laravel generated API didn't like the trailing '/' on POST requests. Worked fine on localhost but didn't work when uploaded to server.