Skip to content

Commit 8975537

Browse files
committed
update readme
1 parent 843d606 commit 8975537

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ Example
361361

362362
tnt_pass_http_request
363363
------------------
364-
**syntax:** *tnt_pass_http_request [on|off|parse_args|unescape]*
364+
**syntax:** *tnt_pass_http_request [on|off|parse_args|unescape|pass_body]*
365365

366366
**default:** *off*
367367

@@ -386,14 +386,19 @@ Examples
386386
req.query -- string
387387
return { 'OK' }
388388
end
389-
389+
390390
-- With parse_args
391391
function tarantool_stored_procedure_name_1(req, ...)
392392
req.headers -- lua table
393393
req.query -- string
394394
req.args -- query args as lua table
395395
return { 'OK' }
396396
end
397+
398+
-- With pass_body
399+
function tarantool_stored_procedure_name_2(req, ...)
400+
req.body -- request body, type string
401+
end
397402
```
398403
```bash
399404
# Call tarantool_stored_procedure_name()

0 commit comments

Comments
 (0)