1
Completed

HTTP Request action stores HTTP Status

Love the updates to the HTTP Request action to support headers.  I have started converting my javascriptlets making XMLHTTPRequest to HTTP Request actions since its much cleaner and easier to use.

I do have one request though.  When using XMLHTTPRequest it allowed you to easily store the status text in a variable.  This was really nice for providing messages to users when something went wrong since the status text is a lot more readable and understandable then the HTTP Code.  But the HTTP Request action does not store this information, it only stores the HTTP Code, HTTP Data, Response Headers and Response Length.  Could you please also store the Status Text in a local variable for later use in the task?

1 reply

If there's an error you should use the "Continue Task on Error" option and then check %errmsg for the error message :) Hope this helps!

Ah ok, didn't realize that.  Thanks!