Provides access to low level HTTP functions (get, post, etc.)
npm install http-native
npx cap sync
request(options: HTTPRequestOptions) => any
Param | Type |
---|---|
options |
HTTPRequestOptions |
Returns: any
Prop | Type |
---|---|
url |
string |
method |
string |
body |
string |
query |
any |
headers |
any |
Prop | Type |
---|---|
data |
string |
status |
number |
url |
string |