Add put as method (#2803)

This commit is contained in:
Fabian Affolter 2017-06-13 07:27:31 +02:00 committed by Paulus Schoutsen
parent 4f511dd7a4
commit 736141df63
2 changed files with 2 additions and 1 deletions

View file

@ -30,7 +30,7 @@ Configuration variables:
- **[service_name]** (*Required*): The name used to expose the service. E.g. in the above example would it be ` rest_command.example_request`.
- **url** (*Required*): The URL (support template) for sending request.
- **method** (*Optional*): HTTP method (get, post, put, delete). Default is get.
- **method** (*Optional*): HTTP method to use (`get`, `post`, `put`, or `delete`). Defaults to `get`.
- **payload** (*Optional*): A string/template to send with request.
- **username** (*Optional*): The username for HTTP authentication.
- **password** (*Optional*): The password for HTTP authentication.