API授权 [英] API Authorization

查看:78
本文介绍了API授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Slack的API来检索有关工作项的信息。我正在调用一个PHP脚本来访问API并返回我想要的信息。

I'm trying to use the API with Slack to retrieve information on work items. I'm calling a PHP script which accesses the API and returns the information I want.

我正在努力处理请求的授权标头。是否有人能够向我展示如何在PHP中配置授权标头的示例?

I'm struggling with the authorization header of the request. Is anyone able to show me an example of how to configure the authorization header in PHP?

我有个人访问令牌或我的VSO凭据可供使用。

I've got a personal access token or my VSO credentials to use.

谢谢

推荐答案

Hi ,

根据您的回复,您使用的是Visual Studio  Team 服务社(VSO)。该论坛适用于本地TFS。我将帮助您将此案例移至Visual Studio  Team  Service 论坛,以获得
专用支持。

Base on your reply, you are using Visual Studio Team Service(VSO). This forum is for on-premises TFS. I will help you move this case to Visual Studio Team Service forum for dedicated support.

感谢您的理解。

最诚挚的问候,  ;

Best Regards, 

Tingting


这篇关于API授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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