Home > @lukso/data-provider-base > AuthenticatedFormDataUploader > getRequestOptions
Return the request options used for the fetch call.
Signature:
getRequestOptions(dataContent: FormData, meta?: FormDataPostHeaders): Promise<FormDataRequestOptions>;
Parameter | Type | Description |
---|---|---|
dataContent | FormData | FormData content to be sent (ignored in this case) |
meta | FormDataPostHeaders | (Optional) Optional additional meta data (ignored in this case) |
Returns:
Promise<FormDataRequestOptions>
Attaches the headers with bearer token.