Skip to main content

core.medplumrequestoptions

Home > @medplum/core > MedplumRequestOptions

MedplumRequestOptions interface

Signature:

export interface MedplumRequestOptions extends RequestInit 

Extends: RequestInit

Properties

Property

Modifiers

Type

Description

followRedirectOnCreated?

boolean

(Optional) Optional flag to follow "Location" or "Content-Location" URL on successful HTTP 201 "Created" responses.

followRedirectOnOk?

boolean

(Optional) Optional flag to follow "Location" or "Content-Location" URL on successful HTTP 200 "OK" responses.

pollStatusOnAccepted?

boolean

(Optional) Optional flag to poll the status URL on successful HTTP 202 "Accepted" responses.

pollStatusPeriod?

number

(Optional) Optional polling time interval in milliseconds. Default value is 1000 (1 second).