Dynamics Connector 12.11

# LuaHttpRequest Methods

This section describes the methods provided by `LuaHttpRequest` objects.

If you have a `LuaHttpRequest` object called `request` you can call its methods using the '`:`' operator. For example:

    request:send()

Constructor | Description
--- | ---
LuaHttpRequest:new | The constructor for a `LuaHttpRequest` object (creates a new `LuaHttpRequest`).

Method | Description
--- | ---
send | Sends the HTTP request.
set_body | Sets the body of the HTTP request.
set_config | Specifies settings to use for sending the HTTP request.
set_header | Adds a header to the HTTP request.
set_headers | Replaces all headers in the HTTP request with new headers.
set_method | Specifies the HTTP request method to use when sending the request, for example `GET` or `POST`.
set_url | Sets the URL that you want to send the HTTP request to.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Dynamics Connector 12.11

Topic Title: LuaHttpRequest Methods