Trying to use a RestClient to obtain an OAuth token but I can't get it to work. I've specified input parameters for grant_type, client_id, client_secret and scope. Running the request vis curl returns a token so I know the interface is correct but I can't get the RestClient to work.
This SR was resolved by using a C# script. The issue with this call was that the server rejected UTF-8 formatted calls as insecure and returned a 400 error. We were able to replicate this and check this by monitoring the network traffic for this server. At present Pega Robotics automatically makes all REST calls UTF-8.