08.04.2020 Aufrufe

sqs-dg-2009-02-01

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

Amazon Simple Queue Service Developer Guide

Related Topics

Action=SendMessage

&MessageBody=Your+Message+Text

&AWSAccessKeyId=0GS7553JW74RRM612K02EXAMPLE

&Version=2009-02-01

&Expires=2008-02-10T12%3A00%3A00Z

&SignatureVersion=2

&SignatureMethod=HmacSHA256

&Signature=lBP67vCvGlDMBQ1dofZxg8E8SUEXAMPLE

4. Provide the resulting form as the body of the POST request.

5. Include the Content-Type HTTP header with the value set to

application/x-www-form-urlencoded.

The following example shows the final POST request.

POST /queue1 HTTP/1.1

Host: sqs.us-east-1.amazonaws.com

Content-Type: application/x-www-form-urlencoded

Action=SendMessage

&MessageBody=Your+Message+Text

&AWSAccessKeyId=0GS7553JW74RRM612K02EXAMPLE

&Version=2009-02-01

&Expires=2008-02-10T12%3A00%3A00Z

&SignatureVersion=2

&SignatureMethod=HmacSHA256

&Signature=lBP67vCvGlDMBQ1dofZxg8E8SUEXAMPLE

SQS requires no other HTTP headers in the request besides Content-Type.The authentication signature

you provide is the same signature you would provide if you sent a GET request (for information about

the signature, see Query Request Authentication (p. 23)).

Note

Your HTTP client typically adds other items to the HTTP request as required by the version of

HTTP the client uses. We don't include those additional items in the examples in this guide.

Related Topics

• Query Request Authentication (p. 23)

• Responses (p. 27)

API Version 2009-02-01

16

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!