Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error /oauth/token in test #12

Closed
StefanoPaparesta opened this issue Jan 29, 2018 · 4 comments
Closed

Error /oauth/token in test #12

StefanoPaparesta opened this issue Jan 29, 2018 · 4 comments

Comments

@StefanoPaparesta
Copy link

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
Copy link
Author

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

@nostrum-service
Copy link

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

@StefanoPaparesta
Copy link
Author

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

@AltiusRupert
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants