sess:request_set_body

March 26, 2020

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

sess:request_finalize and sess:request_add_header