Categories
Endpoints
- List
- Create
- View
- Update
- Delete
List
URL: /api/json/categories/
Method: GET
Arguments (optional)
 
cURL
curl https://mobile.quickswipe.com/api/json/categories/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
 
Create
URL: /api/json/categories/
Method: POST
Arguments
 
cURL
curl https://mobile.quickswipe.com/api/json/categories/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e \\   \-F "name=Shoes" \\   \-F "[email protected]"
Response
HTTP/1.1 201 Created
Content-Type: application/json; charset=UTF-8
Location: /api/json/categories/1/
 
View
URL: /api/json/categories/1/
Method: GET
cURL
curl https://mobile.quickswipe.com/api/json/categories/1/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
 
Update
URL: /api/json/categories/1/
Method: POST
cURL
curl https://mobile.quickswipe.com/api/json/categories/1/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e \\   \-F "name=Shoes" \\   \-F "photo=@file"
Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
 
Delete
URL: /api/json/categories/1/
Method: DELETE
cURL
curl https://mobile.quickswipe.com/api/json/categories/1/?token=516c579c-bdf8-4a6a-a5e4- 46030abbf85e \\ -X DELETE
Response
HTTP/1.1 204 No Content
Updated about 4 years ago
