I had a simple API running before, I just had some tickets and when I came to look the API was down, and when I try to call it with the same code as was working before it gives me the error:
The browser (or proxy) sent a request that this server could not understand.
Also, the same code works perfectly on my local.