Postman Gmail API通过邮递员获取电子邮件
我正在尝试调用Postman Gmail API通过邮递员获取电子邮件,postman,gmail-api,google-oauth,Postman,Gmail Api,Google Oauth,我正在尝试调用用户。消息:使用POSTMAN获取api: Request type : GET Request : https://www.googleapis.com/gmail/v1/users/<my-email>/messages/<id>?key=<API-KEY> Authorization : Bearer-token : <access_token received on successful login using Google>
用户。消息:使用POSTMAN获取api:
Request type : GET
Request : https://www.googleapis.com/gmail/v1/users/<my-email>/messages/<id>?key=<API-KEY>
Authorization : Bearer-token : <access_token received on successful login using Google>
400错误代码表示您以错误的方式发送请求。我猜这是因为你发送了一个不存在的id,因为你不知道它代表什么
如所述,id,表示:
要检索的消息的ID
检索消息id的一种简单方法是使用端点,然后您可以尝试使用该工具检索特定消息。文档中怎么说?
400. That’s an error. Your client has issued a malformed or illegal request. That’s all we know.