News:

AbanteCart v1.4.2.1 is released.

Main Menu
support

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ubaid

#1
It is working on postman, but when I am trying to post through axios in reactjs it is showing this CORS error


"Access to XMLHttpRequest at 'api url' from origin 'localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status."
#2
Thanks for your reply. But still the problem is the same.
#3
I am currently in the process of creating an AbanteCart storefront using ReactJS. However, I am encountering an issue with the login API. Despite providing all the required credentials correctly, the API always returns an error and fails to log me in.

I have double-checked that I am using the correct endpoint and that the credentials I am providing are correct. I am unsure if I am missing something or if there is a bug in the API.

I would greatly appreciate any assistance in resolving this issue. Kindly help me out.

Thank you.


Forum Rules Code of conduct
AbanteCart.com 2010 -