API From the Browser CORS issues - What is the workaround?
It seems that the meistertask api doesn't support cross origin requests from browsers and we get CORS errors when we try to use the api from a browser (Testing a React App)
Any workarounds for this? We are thinking of creating our own proxy but it seems like an awful lot of work
Best Answer
-
Oh... I can't close posts
Well for posterity... the issue was a typo on the url and we where hitting the main meistertask website instead of the api endpoint. Hitting the /api endpoint returns the correct headers and can be called from any origin.
1
Answers
-
Hi @rnieves! Sorry to hear you're experiencing this bug. Since @Line Møller Jensen is out on holiday, I've forwarded your question on to our engineering team. I'll keep you updated with more info on this issue as I have it!
Best,
Andrew
0 -
Hey @Andrew Lapidus no problem. I figured out the issue was the endpoint being called itself. Once we fixed the endpoint we where hitting we where not having any more CORS issues.
I am closing this post
0 -
Ah nice, glad to hear it's fixed! Thanks also for sharing the solution - have a great holiday!
0
Free Online Courses:
Categories
- All Categories
- 11 MeisterNote
- Deutsch
- English
- 33 Roadmap und Feature-Board
- Ankündigungen
- YouTube-Tutorials ansehen
- Erfolgsgeschichten lesen
- MeisterTask Academy
- Vorlagen
- Anwendungsfälle
- Help Center
- 14 Feature Roadmap
- 2 Announcements
- 2 Inspiration Hub
- 41 Ask the Community
- 47 Frag die MeisterTask-Community
- 2K MindMeister Community
- 1.3K MeisterTask
- Ask a Question
- Community auf Deutsch
- 521 MeisterTask - DE
- 111 Community Central