Teamcity Rest Api Cors headers


I'm trying to create a angular application to get an overview of our builds and for this i need to use the teamcity api.

I'm currently facing some cors issues. so i added in the diagnostics ==> internal properties the property* 

This works fine but now i should enter also the allowed headers. Is this possible to be done the same way. Can somebody provide me the kye?


i get the following errormessage right now


Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.



1 comment
Comment actions Permalink
Official comment

Hi Thomas,

Try configuring the property without "*", just specifying full page URL. "*" is not the same as "trust any page" and it has security-related restrictions in CORS.

Please sign in to leave a comment.