Tag: rest
-
REST over HTTP Cheatsheet for Web APIs
Endpoints conventions GET /orders returns all orders. The response body must contain the data as an array of orders.GET /orders/{id} returns the order with identifier {id}. The response body must contain the order data.POST /orders creates an order using the data provided in the request body. The response body must contain the newly created order…