![]() ![]() Please help, help is really appreciated, spent hours with this. Witch Chrome plugin CORS everything works fine, but this is not the way. Origin: Referer: User-Agent:Mozilla/5.0 (Macintosh Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/.98 Safari/537.36Īm I doing something wrong? I can't figure it how to do this. Theese are the response headers, which I get when I use postman:Īccess-Control-Allow-Headers →Access-Control-, Origin, X-Requested-With, Content-Type, AcceptĪccess-Control-Allow-Methods →GET, POST, PUT, DELETE, OPTIONS, HEADĪccess-Control-Expose-Headers →Access-Control-*Īllow →GET, POST, PUT, DELETE, OPTIONS, HEAD >header('Allow', 'GET, POST, PUT, DELETE, OPTIONS, HEAD') >header('Access-Control-Allow-Origin', '*') >header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS, HEAD') >header("Access-Control-Allow-Headers", "Access-Control-*, Origin, X-Requested-With, Content-Type, Accept") >header("Access-Control-Expose-Headers", "Access-Control-*") ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |