πΆhttp
Functions:
get
http.get(url: string):
string
Name | Type | Description |
---|---|---|
url |
| url |
Sends a GET request to the URL.
post
http.post(url: string, params: string, type: number)
Name | Type | Description |
---|---|---|
url |
| url |
params |
| params |
type |
| type |
Sends a POST request to the URL.
delete
http.delete(url: string, params: string)
Name | Type | Description |
---|---|---|
url |
| url |
params |
| params |
Sends a DELETE request to the URL.
Last updated