Page 1 of 1

How to Debug REST Call

Posted: Mon Nov 20, 2017 6:11 pm
by zterlizzese
Hello everyone,

I have built a custom PUT package which I've tested extensively on my machine but I cannot get the call to go through using the REST builder (either the in-application module or the post-application call). Here is the format of the REST call (it is to amazon's s3 REST api):

Code: Select all

PUT /zterlizzese/test2.txt HTTP/1.1
Host: s3.us-east-2.amazonaws.com
Authorization: AWS4-HMAC-SHA256 Credential=AKIAJZAEWIZDLLABCXYZ/20171118/us-east-2/s3/aws4_request,SignedHeaders=content-length;host;x-amz-content-sha256;x-amz-date,Signature=932d5678501536738d20812a9caaef41943073050c3b99d80babcxyzb4fcef94
x-amz-content-sha256: cc412db809b002e48d684ac7cebfa877279a8c493f9c6b173017b03fe8abcxyz
x-amz-date: 20171118T200424Z
Content-Length: 20

Data from Local DEMO
Does anyone know how to debug the REST call so I can see the package that is created or the response from the server?

Thank you for your time,

Zachary Terlizzese

Re: How to Debug REST Call

Posted: Wed Nov 22, 2017 9:59 am
by support
Hi,

The best way to debug your REST call would be to call into your application, then navigate to the Fuse+ Logs page. Once you open the call log for the call you’ve just placed, you’ll be able to press the + next to your REST call and see detailed information about the request and response. You can find more information on debugging at the bottom of the Fuse+ tutorial page https://www.plumvoice.com/docs/fuse/tutorial.

Hope this helps, and let us know if you have more questions.

Regards,
Plum Support

Re: How to Debug REST Call

Posted: Fri Nov 24, 2017 7:11 am
by zterlizzese
Beautiful! Thank you very much, Plum Support.