Thanks Ricardo.
I used your over-writes and modified my code below:
(let* (
(uri "https://api.twitter.com/2/tweets;)
(data "{\"text\":\"Hello world!\"}")
(access-token "abcdemyaccesstoken")
(my-headers `((Content-type . "application/json")(authorization . (bearer .
,access-token)) ))
)
Hi Mortimer,
> Has anyone successfully submitted a bearer token to Twitter v2 api using
> http-request? What syntax did you use?
The validator for the Authorization header does not permit the “bearer”
method with a single string. It expects that authentication methods
other than Basic always
On 12-10-2022 12:30, Mortimer Cladwell wrote:
Hi,
Has anyone successfully submitted a bearer token to Twitter v2 api using
http-request? What syntax did you use? Without success I have tried many
permutations/splellings/capitalizations of:
Note that Guile sometimes sends uncapitalised
On 22/10/12 06:30am, Mortimer Cladwell wrote:
> Hi,
> Has anyone successfully submitted a bearer token to Twitter v2 api using
> http-request? What syntax did you use? Without success I have tried many
> permutations/splellings/capitalizations of:
>
> (let* (
> (uri
Thanks Olivier.
Those spellings did not work with https://api.twitter.com/2/tweets and/or
Guile http-request.
On Wed, Oct 12, 2022 at 7:06 AM Olivier Dion
wrote:
> On Wed, 12 Oct 2022, Mortimer Cladwell wrote:
> > Hi,
> > Has anyone successfully submitted a bearer token to Twitter v2 api using
On Wed, 12 Oct 2022, Mortimer Cladwell wrote:
> Hi,
> Has anyone successfully submitted a bearer token to Twitter v2 api using
> http-request? What syntax did you use? Without success I have tried many
> permutations/splellings/capitalizations of:
No but I managed with sourcehut.
Hi,
Has anyone successfully submitted a bearer token to Twitter v2 api using
http-request? What syntax did you use? Without success I have tried many
permutations/splellings/capitalizations of:
(let* (
(uri "https://api.twitter.com/2/tweets;)
(data "{\"text\":\"Hello world!\"}")
(my-token