Send HTTP request
Get page on example.com
By default header "content-type" is 'application/json'. Some api may have a bug with this. Try set headers: { "content-type": null }
You can use GET
, POST
, PUT
, DELETE
, OPTIONS
methods.
Http.post
, HTTP.put
and etc
Command onLoading
Command onError
Http request can be performed in background with bigger timeout.
Pass background: true
if you need request from slow web page. Task on backgroud is more slowly but it have bigger timeout limit.
Last updated