Search found 3 matches

by twisteddisco
Thu Jan 16, 2025 10:32 am
Forum: HTTPAPI
Topic: OAUTH2
Replies: 6
Views: 42632

Re: OAUTH2

Points taken on board! Thankyou
by twisteddisco
Tue Jan 14, 2025 6:28 pm
Forum: HTTPAPI
Topic: OAUTH2
Replies: 6
Views: 42632

Re: OAUTH2

Thankyou for the reply Scott.

I have one more question and excuse the old school RPG code, not a 'free' programming company where I am.

So I have all of the code in place and its looks good so far, the code is:



D OauthData ds qualified
D access_token 4096a
D token_type 20a
D expires_in 10i ...
by twisteddisco
Fri Dec 13, 2024 8:52 am
Forum: HTTPAPI
Topic: OAUTH2
Replies: 6
Views: 42632

OAUTH2

Hi,

I need some pointers for anybody who has used HTTPAPI to work with OAUTH2.

I need to work with OAUTH2 to get the token before processing further requests.

So what I need to do is:
1.) Get a token from a given URL using client id and secret

Information from the vendor:

curl --request POST ...