[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: http-request bearer token syntax for Twitter v2 api
From: |
Olivier Dion |
Subject: |
Re: http-request bearer token syntax for Twitter v2 api |
Date: |
Wed, 12 Oct 2022 07:06:31 -0400 |
On Wed, 12 Oct 2022, Mortimer Cladwell <mbcladwell@gmail.com> 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.
--8<---------------cut here---------------start------------->8---
(http-post
uri
#:body body
#:streaming? #t
#:headers (append
headers
`((Authorization . ,(string-append "Bearer " oauth))
(Content-Type . "application/json"))))
--8<---------------cut here---------------end--------------->8---
--
Olivier Dion
oldiob.dev