set up authorization
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
{
|
||||
"development": {
|
||||
"hostname": "https://localhost:8443"
|
||||
},
|
||||
"docker": {
|
||||
"hostname": "https://localhost:9040"
|
||||
}
|
||||
"development": {
|
||||
"hostname": "https://localhost:8443",
|
||||
"token": ""
|
||||
},
|
||||
"docker": {
|
||||
"hostname": "https://localhost:9040",
|
||||
"token": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
### register device for a type
|
||||
POST {{hostname}}/register
|
||||
Authorization: Bearer {{token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user