1234567891011121314151617181920 |
- # curl -X POST -H "Content-Type: application/json" -d '{"key1": "value1", "key2": "value2"}' http://localhost:8000/api/device/list
- POST http://127.0.0.1:8888
- Content-Type: application/json
- {
- "printerType": 0,
- "templateName": "HP3G46S-0B0001",
- "printerIp": "192.168.168.100",
- "printerPort": "8050",
- "payload": {
- "sn": "this_is_sn_name",
- "seq": "this_is_seq_sequence"
- },
- "fieldOrders": ["sn", "seq"]
- }
|