1. mukul pandey
  2. PowerBuilder
  3. Wednesday, 13 April 2022 09:56 AM UTC

Hi Gurus,

 

I am using PowerBuilder 2019 R2 classic. I am not aware with Rest API calling in PowerBuilder .

Below is the example of HTTP request.:-

 

Request URL: https://api.incontact.com/InContactAuthorizationServer/Token
Request Method: POST
Request Headers:
        POST /InContactAuthorizationServer/Token HTTP/1.1
Host: api.incontact.com
Connection:  keep-alive
Content-Length: 65
Origin: http://myapp.example.com
Authorization: basic H6CwZTJfYaWKnZDeAV2lkZS5o2V7U0c4lgIy5jb2675B6+MTIzNDdfgd9786dg/0hdUfyhuDFHDA2=
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko)
            Chrome/23.0.1271.95 Safari/537.11
Content-Type: application/json; charset=UTF-8
Accept: application/json, text/javascript, */*; q=0.01
Referer: http://myapp.example.com/mainPage
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Request Payload:
{
   "grant_type" : "client_credentials", 
   "scope" : "PatronAPI"
}

Please help.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 13 April 2022 14:48 PM UTC
  2. PowerBuilder
  3. # 1

Hi Mukul, Please don't double post.

Comment
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Wednesday, 13 April 2022 13:55 PM UTC
  2. PowerBuilder
  3. # 2
Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.