Osapi.http (v0.9)

Osapi.http (v0.9)

NeedsExamples

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) }}