Call URL — Decode Response

This page explains how the examples in this section are processed.  
  • the External Web Service API Endpoint is given in "quotes"
  • the "Call" command uses Hashtag Buckets; an optional "with" Bucket, and a required "to" Bucket
  • if the "with" Bucket is given, the request will be made as HTTP POST; otherwise the request will be made as HTTP GET
  • the Bucket key values are converted to and from JSON when used with the External Web Service API
  • the data sent with the External Web Service Call will come from the "with" Bucket
  • the response from the External Web Service Call will be saved to the emptied "to" Bucket
  • the raw JSON response from the External Web Service API will be saved to the bare global Hashtag variable of the "to" Bucket name


The Hashtag Markup Language provides methods to Call external APIs, and process any response.

The response text is saved to the named Hashtag Variable.   If the response is JSON encoded, it will be decoded into Hashtag Buckets.  

Optional parameters can be sent with the call.   The values in the named Hashtag Bucket will be sent with the request as HTTP POST variables.