Forum Discussion
AbhishekGu
2 years agoKhoros Staff
Hello djondinium
Not really sure why are you passing three parameters in http.client.request - protocol, host, url.
Can you simply use following call with just one parameter url and see if that works:
<#assign response = http.client.request(url).body("{ 'grant_type':'refresh_token', 'refresh_token':'${upAuth.refreshToken}', 'client_id':'${upAuth.clientId}', 'client_secret':'${upAuth.clientSecret}' }", "application/x-www-form-urlencoded").post()>
Regards,
Abhishek Gupta
Related Content
- 11 years ago
- 3 months ago
- 11 years ago