TeamCity On-Premises
 
2021.2
Get TeamCity On-Premises
You are viewing the documentation for an earlier version of TeamCity On-Premises.

Accessing Server by HTTP

Last modified: 26 April 2022

The examples below assume that your server web UI is accessible via http://teamcity.jetbrains.com:8111/ URL.

The TeamCity server supports basic HTTP authentication allowing users to access certain web server pages and perform actions from various scripts. Consult the manual for the client tool/library on how to supply basic HTTP credentials when issuing a request.

Use the valid TeamCity server username and password to use basic HTTP authentication. Appropriate user permissions are required to perform the actions.

To force using a basic HTTP authentication instead of redirecting to the login page if no credentials are supplied, prepend a path in the usual TeamCity URL with /httpAuth. For example:

The HTTP authentication can be useful when downloading build artifacts and triggering a build.

If you have Guest user enabled, it can be used to perform the action too. Use /guestAuth before the URL path to perform the action on Guest user behalf. For example: