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://127.0.0.1:8880/api/versions
HTTP/1.1 500 Internal Server Error
Content-Type: application/json; charset=utf-8
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!