I have a sandbox app with credentials. I’m attempting to request a token but getting an error message during HttpPostt.
Data “client_id=” + ClientId + “&redirect_uri=” + “https://” + GetServerName() + GetEntryURL(“Callback2”,“chicago”) + “&grant_type=authorization_code&client_secret=” + ClientSecret + “&code=” + Code
Please let me know what you think. There is already an access code and refresh token provded directly from the https://accounts.infusionsoft.com/app/central/home but I need to be able to do this from my site.
Thanks in advance.