vector api, 401 http error code, Signature mismatch. Authorization signature or client credential is wrong

前端 未结 2 469
予麋鹿
予麋鹿 2020-12-12 05:20

I\'m trying to use the here maps vector-tiles api. I\'ve received my credentials from developer.here.com. I created an app for HERE SDK for Android or iOS (Lite Editio

2条回答
  •  一整个雨季
    2020-12-12 06:11

    Sharing the CURL request after testing the token generation API on postman. Consumer key and Consumer secret are here.access.key.id and key.secret respectively. signature method : HMAC-SHA1, Version : 1.0

     curl -X POST \
      https://account.api.here.com/oauth2/token \
      -H 'Authorization: OAuth' \
      -H 'Content-Type: application/x-www-form-urlencoded' \
      -H 'Postman-Token: xxxxxxxxxxxx' \
      -H 'cache-control: no-cache' \
      -d grant_type=client_credentials
    

提交回复
热议问题