serviceclient

Cors configuration issues when using ServiceStacks JsonServiceClient

喜你入骨 提交于 2019-12-11 07:58:26
问题 I have issues when trying to Post data to my API using ServiceStack's JsonServiceClient. I get the following error message in the console Access to fetch at 'https://192.168.10.191:5001/json/reply/CreateEquipment' from origin 'http://192.168.10.191:5000' has been blocked by CORS policy: Request header field headers is not allowed by Access-Control-Allow-Headers in preflight response. I have added 192.168.10.191:5000 to the Whitelist. I can see in the network tab that it tries to access "https