I made a POST request using Postman and I tried to make the same request using DataMiner 10.2.8 but the results are different.
In DM, I am using the following element configuration and implementation:
And these are the vales for the PIDs used in this session:
This results in a "404 Not found" response. Which should be alright if I was missing a header, or if it was not a POST request.
Finally, when I send the same request using Postman I get a different error, "400 Bad Request". This error is understandable because is being process by AWS but it realizes that the "Signature Expired":
What could I be doing wrong in the implementation (I've tried many things)?
Is there a way see the complete request how it is sent before leaving DataMiner?
Please and thank you!
Hi Miguel,
Could you please try to use one of the AWS protocols as reference?
Example session form MediaConnect
<Session id="3" name="Start Stop Flow" ignoreTimeout="true">
<Connection id="1">
<Request verb="POST" pid="253">
<Headers>
<Header key="Host" pid="14"></Header>
<!-- SuppressValidator 8.3.1 Header used in AWS request -->
<Header key="X-Amz-Algorithm">AWS4-HMAC-SHA256</Header>
<!-- /SuppressValidator 8.3.1 -->
<!-- SuppressValidator 8.3.1 Header used in AWS request -->
<Header key="X-Amz-Date" pid="15"></Header>
<!-- /SuppressValidator 8.3.1 -->
<Header key="Authorization" pid="12"></Header>
<Header key="Content-Type">application/json</Header>
<Header key="Accept">application/json</Header>
<Header key="Content-Encoding">amz-1.0</Header>
</Headers>
</Request>
<Response statusCode="103">
<Content pid="153" />
</Response>
</Connection>
</Session>
I hope it can be helpful.
Best regards,