简体   繁体   English

HTTP GET 请求的负载正文

[英]Payload body of a HTTP GET request

https://www.absolute.com/-/media/Commercial/resources/api/abt-api-working-with-absolute.pdf?la=en https://www.absolute.com/-/media/Commercial/resources/api/abt-api-working-with-absolute.pdf?la=en

I am trying to make the canonical request part for this one.我正在尝试为这个制作规范请求部分。 On page 6 there is this part: Encoded hash of payload: Hash the entire body, HexEncode, and apply lowercase .在第 6 页上有这部分:有效载荷的编码散列:散列整个正文,HexEncode,并应用小写。 I am not sure what is the payload that I should work on here if I'm trying to do a GET request.如果我尝试执行 GET 请求,我不确定我应该在这里处理的有效负载是什么。 Is it the GET/POST params, or is it something else?是 GET/POST 参数,还是其他什么?

Payload is some data you send on the body of POST requests.有效负载是您在 POST 请求正文中发送的一些数据。 You can see more information on the docs .您可以查看有关文档的更多信息。

With Postman examples you can see some requests, and notice POST is the only one which has body .使用Postman 示例,您可以看到一些请求,并注意 POST 是唯一具有body请求。

I know I'm late, @Felipe is slightly wrong here.我知道我迟到了,@Felipe 在这里有点错误。 Mistook what OP meant by payload.误解了有效载荷的含义。 Generally payload does mean Body, but with Absolutes REST API, you send the payload in the Authorization header.通常,有效负载确实意味着正文,但是对于 Absolutes REST API,您可以在 Authorization 标头中发送有效负载。 It is a standard.这是一个标准。 And there is way better documentation available in AWS than Absolute. AWS 中有比 Absolute 更好的文档。

Absolute also have C# SDKs. Absolute 也有 C# SDK。

AbsoluteSDK绝对SDK

AWS Signature Version 4 Docs or Signing a Request AWS 签名版本 4 文档或签署请求

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM