2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
I found out by myself. Looks like http client is handling the requests slightly different. Rather than pasing paramters in body u need to append to the url using ?para1=value1¶2=value2...
Seems to me like postman somehow handles differently when pasing the "application/x-www-form-urlencoded" header.
답변함 3년 전
0
glad you found it but i believe you should make this request through an AWS resource. lets say a web-server contained in a ec2. I'll reference the docs about retrieving your tokens: "The /oauth2/token endpoint only supports HTTPS POST. Your app makes requests to this endpoint directly, not through the user's browser."
답변함 일 년 전