[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: call WebApi requiring API token authorisation
[Thread Prev] | [Thread Next]
- Subject: Re: call WebApi requiring API token authorisation
- From: Fabien Bodard <gambas.fr@xxxxxxxxx>
- Date: Sun, 1 Feb 2026 09:11:50 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le dim. 1 févr. 2026 à 04:24, KKing <kicking177@xxxxxxxxx> a écrit : > > Hi Olivier/Lee, > > Thank you for your suggestions ... > > I do have > hClientGet.Get(aHeaderOption, strMyFile) > working, and the file referenced by strMyFile has the expected response > content. > and hClientGet.Status is fine > > But > sBuffer = Read #hClientGet, Lof(hClientGet) > returns an empty string. And ideally I'd like the content returned > inline not in a file. > > Suggestions? Use the peek() function dim S as string hCLient.ASync = False hClient.get(... S = hClient.Peek() > > K > > -- Fabien Bodard
| Re: call WebApi requiring API token authorisation | KKing <kicking177@xxxxxxxxx> |