AnsweredAssumed Answered

HTTP Client POST Configuration - oauth token

Question asked by ryan.hurdsman280071 on Jun 22, 2016
Latest reply on Mar 8, 2018 by Adam Arrowsmith

I am trying to create a HTTP Client POST and am having trouble.  I am not sure how to configure the HTTP Client options, like Request Header, Resource Path, ect.

The

Content-Type:application/x-www-form-urlencoded

Authorization:Basic EXAMPLE2SlJNY2o2R1NOdWxBMlVWSHQyYz=

Content-Length:59

Source message
POST /restapi/oauth/token HTTP/1.1 
HOST: platform.ringcentral.com
content-type: application/x-www-form-urlencoded
authorization: Basic EXAMPLE2SlJNY2o2R1NOdWxBMlVWSHQyYz==
content-length: 59 

grant_type=password&username=1234567890&password=d@ssw0rp

The POST will return a JSON response.

I know this is not working:

 

Outcomes