Skip to content

Commit

Permalink
Document Response-Map special header
Browse files Browse the repository at this point in the history
  • Loading branch information
samrocketman committed Oct 27, 2023
1 parent 300e32b commit cc0ce64
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,13 @@ class SimpleRestService {
<tt>Response-Code</tt> to <tt>false</tt>. The <tt>HEAD</tt> HTTP
method implies returning response headers.
</dd>
<dd>
<tt>Response-Map</tt> - Return a HashMap containing
<tt>response_code</tt>, <tt>response_headers</tt>,
<tt>response_content</tt>, and <tt>error</tt> keys. <tt>error</tt>
will return <tt>true</tt> if <tt>response_code</tt> is a 4XX or 5XX
HTTP code.
</dd>
</dl>
@param api_url A URL of a REST endpoint in which to make an HTTP call.
Expand Down

0 comments on commit cc0ce64

Please sign in to comment.