Aller au contenu principal

PHPRequest

Index

Properties

optionalbody

body?: string | Uint8Array | Record<string, string | Uint8Array | File>

Request body. If an object is given, the request will be encoded as multipart and sent with a multipart/form-data header.

optionalheaders

Request headers.

optionalmethod

method?: HTTPMethod

Request method. Default: GET.

url

url: string

Request path or absolute URL.