Dev Guide
Dev GuideUser GuidesLegal TermsGitHubDevCommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

ODP Node SDK / Zaius / ApiV3 / request

request()

Signature

request<T>(
  method: HttpMethod,
  path: string,
  payload: undefined | Payload,
  options: RequestOptions = ...): Promise<HttpResponse<T>>;

Type parameters

Parameters

NameType
methodHttpMethod
pathstring
payloadundefined | Payload
optionsRequestOptions

Returns

Promise<HttpResponse<T>>

Defined in: src/Api/lib/ApiV3.ts:127