Facing CORS issue from localhost

I am getting CORS issue from my localhost. yesterday it was running without any issues. Today when trying the same code, its throwing error.

Access to XMLHttpRequest at 'https://xxx.backendless.app/api/users/register' from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.

Could you help me in this? I am confused what is the issue here.

Hello @deepak_kumar

Welcome to the community and thanks for trying out Backendless!

Actually, I can not reproduce the problem and as far as I know, we do not have such limitations.
Do you use our JS-SDK?
It’s interesting why your Content-Type Request Header is text/plain, there is should be a application/json

Regards, Vlad