From 5018af4c6c224c5fda36aedf126e83e40691015a Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Tue, 19 Mar 2024 10:51:20 +0000 Subject: [PATCH] android docs --- apps/android/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/android/README.md b/apps/android/README.md index c76e6e528..f322e6a4e 100644 --- a/apps/android/README.md +++ b/apps/android/README.md @@ -44,6 +44,10 @@ The boot code also provides some useful functions: * `id` - a custom (string) ID * `timeout` - a timeout for the request in milliseconds (default 30000ms) * `xpath` an xPath query to run on the request (but right now the URL requested must be XML - HTML is rarely XML compliant) + * `return` for xpath, if not specified, one result is returned. If `return:"array"` an array of results is returned. + * `method` HTTP method (default is `get`) - `get/post/head/put/patch/delete` + * `body` the body of the HTTP request + * `headers` an object of headers, eg `{HeaderOne : "headercontents"}` eg: