+ 1
Expressjs api
why ( https://expressjs--3111.local.webcontainer.io) api in postman for GET request returns unexpected '<' instead of text message when i fetch this api from react i have cors issue and i can't solveit,i tried everything I already searched it in Google but to not avail
3 Answers
+ 1
corsanywhere
0
Gordon thanks,but postman doesnât have origin,it shouldnât have cors issues.maybe itâs happens because I am using Chrome extension-postman.
or maybe the reason is the fact that i use online web editor Stackblitz for express server?
thanks in advance))
0
Append your target API url after this string:
"https://cors-anywhere.herokuapp.com"
And fetch with new url.