Bluelink: fix missing header on register call (#5324)
This commit is contained in:
parent
675e944ce8
commit
ab57a858a5
1 changed files with 5 additions and 4 deletions
|
|
@ -72,10 +72,11 @@ func (v *Identity) getDeviceID() (string, error) {
|
|||
}
|
||||
|
||||
headers := map[string]string{
|
||||
"ccsp-service-id": v.config.CCSPServiceID,
|
||||
"Content-type": "application/json;charset=UTF-8",
|
||||
"User-Agent": "okhttp/3.10.0",
|
||||
"Stamp": stamp,
|
||||
"ccsp-service-id": v.config.CCSPServiceID,
|
||||
"ccsp-application-id": v.config.CCSPApplicationID,
|
||||
"Content-type": "application/json;charset=UTF-8",
|
||||
"User-Agent": "okhttp/3.10.0",
|
||||
"Stamp": stamp,
|
||||
}
|
||||
|
||||
var resp struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue