Create extension/new functionality for
which add scripting a new secure way of making a post request similar to
getJson.
getJSON(url,callback,headers)
Makes a request to the defined URL and adds the specified headers to the
request. If the request succeeds with a HTTP response status code (2XX)
and a valid JSON response is returned the callback is invoked and the
JSON response is passed to the callback as a JSON object… The script
fails otherwise.