0
votes

This is the responce i am getting when trying to upload a file from my client(PHP),My server is on WebApi which is hosted in one server.In my webapi i have allowed all CORS related things still i am getting this error.enter image description here

1

1 Answers

0
votes

Have you checked this tutorial?

Maybe when you say

In my webapi i have allowed all CORS related things

you didn't do that correctly, or maybe you enabled too many options at the same time. It's hard to give you more details without access to your actual configuration.

There are also many posts on the same subject here on SO, have you checked them?