post http://sampleapi.readme.io/orders
Create a new order
You can create a new order using the API.
$.post('http://sampleapi.readme.com/orders/', {
user: {
'name': 'Gregory Koberger',
'email': '[email protected]'
},
address: '123 Main St, San Francisco, CA 94117',
fulfilled: false,
key: '[[app:key]]',
}, function(data) {
alert(data);
});
r = requests.post('http://sampleapi.readme.com/orders/', {
user: {
'name': 'Gregory Koberger',
'email': '[email protected]'
},
address: '123 Main St, San Francisco, CA 94117',
fulfilled: false,
key: '[[app:key]]',
}, auth="[[app:key]]")
print r.text
var request = require('request');
request.post('http://sampleapi.readme.com/orders/', {
user: {
'name': 'Gregory Koberger',
'email': '[email protected]'
},
address: '123 Main St, San Francisco, CA 94117',
fulfilled: false,
key: '[[app:key]]',
}, function (error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body) // Print the google web page.
}
})
Confirmation Emails
If you don't receive a confirmation email within 10 minutes, please contact us immediately!