Osapi.http (v0.9)
NeedsExamples
- 1 Methods
- 1.1 osapi.http.head
- 1.2 osapi.http.get
- 1.3 osapi.http.put
- 1.4 osapi.http.post
- 1.5 osapi.http.delete
osapi.http
Service object for making HTTP requests to third party servers. This is not a JSON-RPC endpoint, but a third party web service.
Methods
osapi.http.head
;<static> osapi.Request osapi.http.head(params)
Parameters
NameTypeDescription |
Returns
TypeDescription |
Description
Creates a HEAD request to an arbitrary URL.
osapi.http.get
;<static> osapi.Request osapi.http.get(params)
Parameters
NameTypeDescription |
Returns
TypeDescription |
Description
Creates a GET request to an arbitrary URL.
osapi.http.put
;<static> osapi.Request osapi.http.put(params)
Parameters
NameTypeDescription |
Returns
TypeDescription |
Description
Creates a PUT request to an arbitrary URL.
osapi.http.post
;<static> osapi.Request osapi.http.post(params)
Parameters
NameTypeDescription |
Returns
TypeDescription |
Description
Creates a POST request to an arbitrary URL.
osapi.http.delete
;<static> osapi.Request osapi.http.delete(params)
Parameters
NameTypeDescription |
Returns
TypeDescription |
Description
Creates a DELETE request to an arbitrary URL.
{{ JsApiAlphaList_(v0.9) }}