Content Manager Connector 24.4
IDOL Content Manager Connector Help

# 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 2024 Open Text
Version 24.4 | Last updated September 2024

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Content Manager Connector 24.4

Topic Title: LuaHttpRequest Methods