Takes two or three parameters. For two parameters, it makes a http post request with the given JSON and result returned to the callback function. For three parameters, it makes a http post request with the JSON given and result returned in given type(XML,JSON,SCRIPT) to callback function.

Function prototype

_.post(url,callback) or _.post(url,type,callback). Makes an http post request with given @url and returns the result to the @callback in @type format. @type values are "XML", "JSON" and "SCRIPT".

Function parameters

@url - url that request will be send@type - type of response such as JSON @callback - function to be called with response data