PHONK 1.3.3pre
Pre-release
Pre-release
This Pre-release version includes a new option to upload a generic body in httpRequest POST method as follows
Related issue #94
ui.addTitle(app.name)
network.httpRequest({
method: 'POST',
url: 'https://postman-echo.com/post',
body: {
type: 'application/json',
data: JSON.stringify({field: "value", anotherfield: 12345})
}
}).onResponse(function (e) {
console.log(e.status, e.response)
})