Custom Request

Send a custom post request to a location of choice

PropTypeDefault
method
string
none
url
string
none
body
string
none
const { RequestClient } = require('@cordxapp/request');
const req = new RequestClient();
 
return req.post({
  method: method, /** ONE OF: POST, PUT, PATCH, GET, DELETE */
  url: url,
  body: body
});

Last updated on