Skip to content
This repository was archived by the owner on Oct 26, 2023. It is now read-only.

Conversation

@gklandes
Copy link

'elo Cloud Gurus! I hit a snag in the serverless workshop with CORS blocking me in Lab 2. The issue is with the x-requested-with header field; here is the CORS error from the console:

CORS policy: Request header field x-requested-with is not allowed by Access-Control-Allow-Headers in preflight response.

I found this discussed here:

https://acloud.guru/forums/serverless-for-beginners/discussion/-L_lzhGqtheBLRwD-fd8/request_header_field_x-request

There was a solid work-around that could be added to the video, but a simpler solution (seems to me) was to update JQuery. Newer library doesn't send that header field.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant