对Google Dialogflow使用HTTP请求 [英] Using HTTP Request for Google Dialogflow
本文介绍了对Google Dialogflow使用HTTP请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
标头:
授权:Bearer YOUR_CLIENT_ACCESS_TOKEN
Headers: Authorization: Bearer YOUR_CLIENT_ACCESS_TOKEN
我如何使用以上代码在HTTP中发出HTTP请求Google Dialogflow?如何将标头添加为HTTP请求的一部分
How do i use the above code to make a HTTP Request in Google Dialogflow? How do i add headers as a part of HTTP request
推荐答案
您可以使用邮递员应用程序,用于发送POST请求,
You can use the Postman application for sending POST request,
在邮递员应用程序中选择邮寄请求,
Select Post request in Postman Application,
在标题部分中,选择 Authorization
作为密钥并粘贴承载者YOUR_CLIENT_ACCESS_TOKEN
In headers section, choose Authorization
as key and paste the Bearer YOUR_CLIENT_ACCESS_TOKEN
然后,如果您点击发送,您将在身体。
Then, if you click send you will get the proper response in a body.
这篇关于对Google Dialogflow使用HTTP请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文