Skip to main content

Name

sess:request_set_body — Set the body of an HTTP session

Synopsis

require('msys.httpclnt')

sess:request_set_body(request);

request: JSON string

Description

Set the body of an HTTP session. request is a JSON-formatted string. You must call sess:request_finalize after invoking this function.

For a code example see http_request_eval.

See Also

Was this page helpful?