rest_api_customers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rest_api_customers [2016/11/25 13:41] – sweitmann | rest_api_customers [2016/11/30 08:31] – sweitmann | ||
---|---|---|---|
Line 4: | Line 4: | ||
http:// | http:// | ||
View all customers in JSON format | View all customers in JSON format | ||
- | http// | + | http// |
- | + | ||
View single customer in XML format | View single customer in XML format | ||
http:// | http:// | ||
- | |||
View single customer in JSON format | View single customer in JSON format | ||
- | http:// | + | http:// |
- | + | Adding | |
- | Adding a customer with XML from command line | + | |
curl -X POST -H " | curl -X POST -H " | ||
- | + | Adding | |
- | Adding a customer with JSON format from command line | + | |
curl -X POST -H " | curl -X POST -H " | ||
- | |||
Delete a customer with DELETE request | Delete a customer with DELETE request | ||
curl -X DELETE http:// | curl -X DELETE http:// |
rest_api_customers.txt · Last modified: 2016/12/08 08:54 by sweitmann