API Docs for:

Class Parse.Cloud.HTTPOptions

Parse.Cloud.HTTPOptions( )
body <String | Object>

The body of the request. If it is a JSON object, then the Content-Type set in the headers must be application/x-www-form-urlencoded or application/json. You can also set this to a {@link Buffer} object to send raw bytes. If you use a Buffer, you should also set the Content-Type header explicitly to describe what these bytes represent.

error <Function>

The function that is called when the request fails. It will be passed a Parse.Cloud.HTTPResponse object.

followRedirects <Boolean>

Whether to follow redirects caused by HTTP 3xx responses. Defaults to false.

headers <Object>

The headers for the request.

method <String>

The method of the request. GET, POST, PUT, DELETE, HEAD, and OPTIONS are supported. Will default to GET if not specified.

params <String | Object>

The query portion of the url. You can pass a JSON object of key value pairs like params: {q : 'Sean Plott'} or a raw string like params:q=Sean Plott.

success <Function>

The function that is called when the request successfully completes. It will be passed a Parse.Cloud.HTTPResponse object.

url <String>

The url to send the request to.