diff Sphinx/source/users/lua.rst @ 90:e6a15f619786

added headers in HttpPost/Delete/Get/Put
author amazy
date Thu, 02 Feb 2017 21:28:28 +0100
parents d6bd1dd820e5
children 025744919357
line wrap: on
line diff
--- a/Sphinx/source/users/lua.rst	Fri Jan 20 09:49:26 2017 +0100
+++ b/Sphinx/source/users/lua.rst	Thu Feb 02 21:28:28 2017 +0100
@@ -155,13 +155,14 @@
 <lua-rest>`, several functions are available to make generic HTTP
 requests to Web services:
 
-* ``HttpGet(url)``
-* ``HttpPost(url, body)``
-* ``HttpPut(url, body)``
-* ``HttpDelete(url)``
+* ``HttpGet(url, headers)``
+* ``HttpPost(url, body, headers)``
+* ``HttpPut(url, body, headers)``
+* ``HttpDelete(url, headers)``
 * ``SetHttpCredentials(username, password)`` can be used to setup the
   HTTP credentials.
 
+The ``headers`` argument has been added in release 1.2.1.
 
 .. _lua-origin: