Class | Mu::HttpHelper |
In: |
lib/mu/http_helper.rb
|
Parent: | Object |
fetches a file and stores it locally
* e = the url suffix * filename = the name to store the file locally * p = hash of parameters, such as headers
get call for json, converts the response to json if applicable
* e = the url suffix * p = hash of parameters, such as headers
get call for xml, converts the response to xml if applicable
* e = the url suffix * p = hash of parameters, such as headers
basic post call
* e = the url suffix * body = the data to post * p = hash of parameters, such as headers