HTTP

A BDK Book containing procedures for making HTTP requests.

Prerequisites

Learning the HTTP Book (BDK)

1

In the left navigation bar, click on Books.

2

Add a Book

In the Books page, click on + New Book.

3

Search for the Book

Search for the Book's name. Click on the version tagged with bdk.

You will be prompted to provide the connectivity details if configuration is required.

4

Finalize

Click Add to finish adding your Book.

Connectivity

This Book supports the following connectivity methods.

Note: If connect is set, "Authorization" header will be added automatically to the request and manually set "Authorization" header will be ignored.

Username and Password

Connect to the HTTP server using basic authentication.

Label
Description
Type

Username

The username for basic authentication.

text

Password

The password for basic authentication.

text

Token URL, Client ID and Client Secret

Connect to the HTTP server using client credentials method.

Label
Description
Type

Token URL

The token URL for client credentials.

text

Client ID

The client ID for client credentials.

text

Client Secret

The client secret for client credentials.

text

Username and Password

Connect to the HTTP server using digest authentication.

Label
Description
Type

Username

The username for digest authentication.

text

Password

The password for digest authentication.

text


Configuration

The following table details all the available configuration options for this Book.

Concept
Description
Type
Default Value

timeout

Get the value of the timeout.

number

30

allow insecure transport

Get the value of the allow insecure transport.

boolean

False

Configuration can be set or retrieved as shown in the following examples:

the department's HTTP's timeout is 30

Last updated

Was this helpful?