...
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Examples
Code Block | ||||
---|---|---|---|---|
| ||||
//Simple var result = pjs.sendRequest("post", "http://website.com/myJSONAPI", {key: 'value'}); //Advanced, using request API options result = pjs.sendRequest({ method: "POST", uri: "http://website.com/myJSONAPI", body: {key: 'value'}, json: true, timeout: 5000, time: true }); |
...