bic-org / Boxtech

Boxtech API is a global container database containing technical and safety information, such as tare weight, size/type and max stacking capacity for containers.
https://www.bic-boxtech.org
25 stars 7 forks source link

Error /oauth/token in test #12

Closed StefanoPaparesta closed 5 years ago

StefanoPaparesta commented 6 years ago

i use this endpoint http://bic-tcd-test.herokuapp.com/oauth/token receive this error { "statusCode": 400, "status": 400, "code": 400, "message": "Invalid request: method must be POST", "name": "invalid_request" }

I have correctly set header and body in postman in accord with your guide. Wath is wrong ?

StefanoPaparesta commented 6 years ago

Sorry, any new with this issue, i can't develop the integration with your API ? Regards Stefano

nostrum-service commented 6 years ago

I have use this endpoint to get token https://app.bic-boxtech.org/oauth/token with POST method - it works

StefanoPaparesta commented 6 years ago

Sorry in #11 issue the correct endpoint is http://bic-tcd-test.herokuapp.com/oauth/token, i don't undertstand this difference

AltiusRupert commented 6 years ago

Hi @StefanoPaparesta , You can use a test endpoint to verify that your program is working : that is http://bic-tcd-test.herokuapp.com/oauth/token .

When you put your program into production, you will want to call the production Boxtech database : that is https://app.bic-boxtech.org/oauth/token .

HTH