Hi! I’m trying to send a POST from my Angular app to the Digital Ocean API, using the following endpoint:
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 https://apitester.com/, I get the response successfully.
Any idea? Thanks!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.