Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 910 Bytes

File metadata and controls

31 lines (25 loc) · 910 Bytes

imageupload

RESTapi with ability to upload images

Response structure

Responses have similar structure:
  data: ~
  message: ~
  status: ~

Requests:

GET: /orders/
 Take no params
 Returns list of all orders
 Example:
alt text

POST: /orders/create
 Take params:
  file: multipart/form-data, required
  order: application/json, required
 Creates new order, and returns it
 Example:
alt text

DELETE: /orders/delete/{id}
 Takes PathParam - id (Long)
 Returns general response form with data:""
 Example:
alt text