You are viewing the documentation of TeamCity 10.x and 2017.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.


Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


TeamCity REST can be configured to allow cross-origin requests.
If you want to allow requests from a page loaded from a specific domain, add the domain page address (including protocol and port) to comma-separated internal property rest.cors.origins.


To enable support for preflight OPTIONS request, add "rest.cors.optionsRequest.allowUnauthorized=true" internal property.

If that does not workhelp, enable debug logging and investigate the log and look for related messages. If there are none, capture the browser traffic and messages to investigate the case.

API Client Recommendations