如何在TeamCity的REST API通过用户名和密码 [英] How to pass username and password in TeamCity REST API

查看:140
本文介绍了如何在TeamCity的REST API通过用户名和密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始与TeamCity的REST API进行试验。我去过一些什么类型的命令,我可以打电话,等的文件,但没有提及一件事就是如何传递到API的用户名和密码。

I've just started to experiment with the TeamCity REST API. I've been some of the documentation about what types of commands I can call, etc, but one thing which is not mentioned is how to pass a username and password to the API.

我已经无法找到这样的例子;所以有人可以帮我吗?

I've not been able to find examples of this; so can someone help me out please?

推荐答案

是这样的:

http://user:pass@server:port/app/rest/..... etc

我发现,在 EAP文档网站

这篇关于如何在TeamCity的REST API通过用户名和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆