And I know you're using Chilkat but West-Wind has some good, simple examples of using REST with VFP. IIRC Rick also did that as a session at SWFox so you've probably got that whitepaper in the downloads.
--
rk
From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Richard Kaye Sent: Tuesday, July 12, 2022 10:20 AM To: profoxtech@leafe.com Subject: RE: Need Help - Foxpro & Chilkat & Rest API
Generally speaking, the token is the key that unlocks access to the APIs you want to call. So you need to persist that in your business object, and pass it to any API calls you make. Depending on the API you're hitting, the token value could be in the request header or it could be a key:value pair in the payload.
--
rk
From: ProfoxTech <profoxtech-bounces@leafe.commailto:profoxtech-bounces@leafe.com> On Behalf Of Paul H. Tarver Sent: Tuesday, July 12, 2022 9:38 AM To: profoxtech@leafe.commailto:profoxtech@leafe.com Subject: RE: Need Help - Foxpro & Chilkat & Rest API
Definitely!
I did have a small breakthrough yesterday as I was able to get an OAuth2 Token returned from within VFP. Woohoo!
Now if I can just figure out what to do with it. :)
Paul H. Tarver Tarver Program Consultants, Inc.
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Ed Leafe Sent: Monday, July 11, 2022 4:54 PM To: profoxtech@leafe.com<mailto:profoxtech@leafe.commailto:profoxtech@leafe.com%3cmailto:profoxtech@leafe.com> Subject: Re: Need Help - Foxpro & Chilkat & Rest API
On Jul 11, 2022, at 16:51, Paul H. Tarver <paul@tpcqpc.com<mailto:paul@tpcqpc.commailto:paul@tpcqpc.com%3cmailto:paul@tpcqpc.com>> wrote:
I'll keep looking for your project and when you release it, I'll definite consider upgrading to your tool as soon as I can.
Sounds like a potential beta tester! ;-)
-- Ed Leafe
[excessive quoting removed by server]