Skip to content

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 axiosReturns: Promise - - Return a Promise object containing the request results

ParamTypeDescription
urlstringThe URL of the request
configObjectRequest configuration options (optional)

axios.post(url, data, config) ⇒ Promise

Initiate POST request

Kind: static method of axiosReturns: Promise - - Return a Promise object containing the request results

ParamTypeDescription
urlstringThe URL of the request
dataObjectThe data to be sent
configObjectRequest configuration options (optional)

axios.put(url, data, config) ⇒ Promise

Initiate PUT request

Kind: static method of axiosReturns: Promise - - Return a Promise object containing the request results

ParamTypeDescription
urlstringThe URL of the request
dataObjectThe data to be sent
configObjectRequest configuration options (optional)

axios.delete(url, config) ⇒ Promise

Initiate DELETE request

Kind: static method of axiosReturns: Promise - - Return a Promise object containing the request results

ParamTypeDescription
urlstringThe URL of the request
configObjectRequest configuration options (optional)

axios.patch(url, data, config) ⇒ Promise

Initiate PATCH request

Kind: static method of axiosReturns: Promise - - Return a Promise object containing the request results

ParamTypeDescription
urlstringThe URL of the request
dataObjectThe data to be sent
configObjectRequest configuration options (optional)

PS Z:\workspace\todo-user-vue\src-capacitor\android\app\src\main\assets\core>