# CORS Error when trying to POST to /continue

**URL:** <https://community.auth0.com/t/cors-error-when-trying-to-post-to-continue/57452>\
**Category:** Get Help\
**Tags:** api, rules, login, auth0\
**Created:** [February 5, 2021, 3:25pm UTC](https://community.auth0.com/t/cors-error-when-trying-to-post-to-continue/57452 "2021-02-05T15:25:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [February 27, 2021, 12:18pm UTC](https://community.auth0.com/t/cors-error-when-trying-to-post-to-continue/57452/2 "2021-02-27T12:18:04Z")

</div>

Hi @raghucs ,

I think this may be the way you are carrying out the POST request, the `/continue` endpoint is expecting a browser redirect and not an AJAX request (e.g. a XMLHttpRequest), which doesn’t support CORS.

This other community thread and the Github repo linked there may be of some help to you too:

> [@Working progressive profile demo using SPA SDK](https://community.auth0.com/t/working-progressive-profile-demo-using-spa-sdk/35802/2):
>
> Fair enough. I would recommend you check out [rules/redirect-rules/progressive-profiling at master · auth0/rules · GitHub](https://github.com/auth0/rules/tree/master/redirect-rules/progressive-profiling) Explanation there is more concise and clear on how to implement. Only confusing bit is the webtask since you can’t create new ones anymore. However as mentioned in the docs webtask is just one way to host and tbh what that webtask does can simply be just part of your current application. For what it is worth I just recreated the webtask as a simple node webapp with minimal ch…

---

_[View the full topic](https://community.auth0.com/t/cors-error-when-trying-to-post-to-continue/57452)._
