Do you use Postman to test what yo need to do with the API? Then just make the same call from the web side of VFP. Catch json responses and you are good.
On Tue, Jul 12, 2022 at 9:20 AM Richard Kaye rkaye@invaluable.com wrote:
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.com On Behalf Of Paul H. Tarver Sent: Tuesday, July 12, 2022 9:38 AM To: 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.commailto:profoxtech@leafe.com Subject: Re: Need Help - Foxpro & Chilkat & Rest API
On Jul 11, 2022, at 16:51, Paul H. Tarver <paul@tpcqpc.commailto: 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]