Skip to content
Advertisement

Tag: axios

php cors issue with axios post

I have a simple post request with axios to php script which renders some pdfs and should return a String. Now I got this error: I set this in my php file: With no changes. also tried this: also no changes. my axios call looks like this: What could solve this? Thanks in advance Answer A working solution for me

Advertisement