1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- ===
- POST /records/barcodes
-
- {"product_id":1,"hex":"","bin":""}
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 1
-
- 2
- ===
- GET /records/barcodes/2
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 64
-
- {"id":2,"product_id":1,"hex":"","bin":"","ip_address":"TEST_IP"}
- ===
- PUT /records/barcodes/2
-
- {"ip_address":"FAKE_IP"}
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 1
-
- 0
- ===
- GET /records/barcodes/2
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 64
-
- {"id":2,"product_id":1,"hex":"","bin":"","ip_address":"TEST_IP"}
- ===
- DELETE /records/barcodes/2
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 1
-
- 1
|