Hi, there.
I’m following the Your first Pipedrive app using OAuth video tutorial but I stuck on the Step 4 and Step 5: Getting the tokens step or OAuth authorization.
I did the following:
- in the postman I created a POST https request.
1.2. in the Authorization part I choose Basic auth, where Username is my Client ID and Password is my Client Secret. Both, Client ID and Client Secret I took from the OAuth & access scopes tab of my app.
1.2. Also, in the Body part of the Post request I add three keys:
a) grant_type having value ‘authorization_code’
b) redirect_uri having value ‘http://testurl.test’ ( for the test purposes the value can be any url as it shown in the video tutorial )
c) code having value ‘10197601.13380074.67aca8ab8ff4258acfe0aa352c6951495a754a44’ ( which is generated by piprdrive and is active for 5 minutes after I click “Allow and Install” btn on my app)
And having all that done, when submitting a POST request, Postman returns " Could not send request. Error: Invalid protocol: post http: " notification.
Attaching screenshots
What am I doing wrong?