[ardoHTTP] Add Status Code to Response

[ardoHTTP] Add Status Code to Response

  
Forge Component
(16)
Published on 30 Oct by Ricardo Silva
16 votes
Published on 30 Oct by Ricardo Silva
Ricardo,

Used your extension to post like a BOSS!  

One question / request.  Woudl it be possible to return the statuscode in addition to the status?

Example:  You are returning "OK" for statuscode 200.  

The challenge is that we are making calls to AWS and there are a few responses that must be caught and handled by error code.  Example:  2xx - success, 4xx - you screwed up, 5xx - catch and retry with exponential backoff.  

FYI - I am in the office today with you.  2nd floor by reception - Have a Wodify T-Shirt for you!

Ameet
Hello Ameet,

Thank you for the t-shirt :)

Regarding your change request, version 1.2 of ardoHTTP addresses this.

It was always something that I wanted to do when I first wrote ardoHTTP but never got to revisit. Turns out it was simpler than I thought ( doh ! ).

Ricardo Silva
Awesome!  Will implement and test now...assume it works unless you hear from me.  Thanks so much!  Going to post like a BOSS.