πŸ“Άhttp

Functions:

get

http.get(url: string): string

NameTypeDescription

url

string

url

Sends a GET request to the URL.

post

http.post(url: string, params: string, type: number)

NameTypeDescription

url

string

url

params

string

params

type

number

type

Sends a POST request to the URL.

delete

http.delete(url: string, params: string)

NameTypeDescription

url

string

url

params

string

params

Sends a DELETE request to the URL.

Last updated