Sage Sage
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Articles
Downloads
Gallery
Posts posted by Sage Sage
-
-
Hello!
Yes, I can confirm that my callback url is correct.I've made some updates to my java code. As you can see, I'm redirected to the callback URL, with an authorization code.
I'm blocked with the step "Exchange the authorization code for the access token". I get error 400.
(It's the same error on postman if we dont send the body parameters as x-www-form-urlencoder, so I think the problem comes to the syntax of the body parameters) -
-
-
Hello, I'm a student and I develop a Java Web Application that supposed to get and post data beetween Web App and Sage Accounting. The post request (https://oauth.accounting.sage.com/token) to get token always returns 403.
I put here my code. Thanks!
Api JAVA to Sage
in Bug Reporting
Posted
Hello. I find a solution to get token from Java API.
There is my code. It uses some apache libraries: (HttpClient and HttpCore)