//requires the resource URL and a message object as the arguments
rest.post({url: '', json: {}})
rest.post({url:'https://httpbin.org/post', json: { hello: 'world'}})
//you can also create a separate object for the arguments and pass it to the API
//headers are also supported
url: "https://httpbin.org/post",
'content-type': 'application/json'