On Wed, 12 Oct 2022, Mortimer Cladwell <mbcladw...@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

Reply via email to