get https://example.com/orders
Log in to see full request history
If you need to get a list of all orders for your account, you can do an authenticated call to ReadMe.
$.get('http://sampleapi.readme.com/orders/', {key: '[[app:key]]'}, function(data) {
alert(data);
});
r = requests.get('http://sampleapi.readme.com/orders/', auth="[[app:key]]")
print r.text
var request = require('request');
request('http://sampleapi.readme.com/orders/', function (error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body) // Print the google web page.
}
})
curl http://sampleapi.readme.com/orders/
This is useful for many reasons:
- Checking for all outstanding orders
- Alerting yourself if an order is about to arrive
- Emailing people about the status of their orders
You can request more information about each individual order by doing a GET request to /orders/:id.