Error on GET and POST javascript
Closed this issue · 2 comments
godoymario95 commented
Hello,
I was testing the api that you have created for your own project and I have seen that it does not return anything if the request is made by javascript, since it works by postman, investigating a little I have seen that it is possible that the configuration is in strict mode of the server.
Attached screenshots.
Thanks a lot 😊.
celsiusnarhwal commented
I've updated the API to allow Cross-Origin Resource Sharing. Please try sending another request and get back to me with the results.
godoymario95 commented
Thanks, it works now ☕👌