axios - puppeteerApp
Kind: global class Make HTTP requests, the interface is consistent with axios, but it is not an instance of axios.
axios.get(url, config) ⇒ Promise
Initiate GET request
Kind: static method of axios
Returns: Promise
- - Return a Promise object containing the request results
Param | Type | Description |
---|---|---|
url | string | The URL of the request |
config | Object | Request configuration options (optional) |
axios.post(url, data, config) ⇒ Promise
Initiate POST request
Kind: static method of axios
Returns: Promise
- - Return a Promise object containing the request results
Param | Type | Description |
---|---|---|
url | string | The URL of the request |
data | Object | The data to be sent |
config | Object | Request configuration options (optional) |
axios.put(url, data, config) ⇒ Promise
Initiate PUT request
Kind: static method of axios
Returns: Promise
- - Return a Promise object containing the request results
Param | Type | Description |
---|---|---|
url | string | The URL of the request |
data | Object | The data to be sent |
config | Object | Request configuration options (optional) |
axios.delete(url, config) ⇒ Promise
Initiate DELETE request
Kind: static method of axios
Returns: Promise
- - Return a Promise object containing the request results
Param | Type | Description |
---|---|---|
url | string | The URL of the request |
config | Object | Request configuration options (optional) |
axios.patch(url, data, config) ⇒ Promise
Initiate PATCH request
Kind: static method of axios
Returns: Promise
- - Return a Promise object containing the request results
Param | Type | Description |
---|---|---|
url | string | The URL of the request |
data | Object | The data to be sent |
config | Object | Request configuration options (optional) |
PS Z:\workspace\todo-user-vue\src-capacitor\android\app\src\main\assets\core>