AnsweredAssumed Answered

Missing Allowed Origins Header

Question asked by jeremib on Jun 30, 2020
Latest reply on Jul 2, 2020 by frank

I'm attempting to access the triPOS api through a browser, and I have set 




In my tripos.config file.


When when I attempt to access the api, the browser is complaining:


has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.


And I have confirmed that there is no allow origin header:


$ curl -X GET -I
HTTP/1.1 500 Internal Server Error
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8
Vary: Accept
Server: Microsoft-HTTPAPI/2.0
X-Powered-By: ServiceStack/4.052 Win32NT/.NET
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Allow-Headers: Content-Type, tp-application-name, tp-application-version, tp-authorization, tp-application-id, tp-request-id, tp-return-logs
Date: Tue, 30 Jun 2020 17:01:39 GMT


Any help would much appreciated!