username:password
Authorization: Basic *****************
{
"dataProto": 18,
"netType": 52,
"deviceType": 11,
"autoRegister": 51,
"tags": null,
"categoryID": 85,
"desc": "ad eu quis reprehenderit",
"authMode": 29,
"productName": "经步加且"
}
curl --location --request POST 'http://42.193.250.251:7777/api/v1/things/product/info/create' \
--header 'iThings-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVaWQiOiIxNzY2MjUyMTY2OTI5NjEyODAwIiwiUm9sZSI6NSwiSXNBbGxEYXRhIjoyLCJleHAiOjE2ODcwMTUyMDYsImlhdCI6MTY4NzAwOTMxMn0.xxFiBpYlTIDLYhN-_stlrmYGOLqF-wHJKBSqs-zVb8k' \
--header 'iThings-project-id: 123123123' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"dataProto": 18,
"netType": 52,
"deviceType": 11,
"autoRegister": 51,
"tags": null,
"categoryID": 85,
"desc": "ad eu quis reprehenderit",
"authMode": 29,
"productName": "经步加且"
}'
{
"code": 0,
"msg": "success"
}