Problem with CORS on Digital Ocean API

Posted January 31, 2019 446 views

Hi! I’m trying to send a POST from my Angular app to the Digital Ocean API, using the following endpoint:’&grant_type=authorization_code&redirect_uri=MY_APP_URL

On Chrome delevoper tools I can see an OPTIONS request is sent first, and returned with 404, so the POST is never sent.
When I try the same endpoint on, I get the response successfully.

Any idea? Thanks!

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!