Syntax help. How to use Basic auth in headers of HTTP Request #1341
Unanswered
SuperTempAccount
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there,
I'm using the
HTTP Request
block to create a post using the Wordpress API.The header block looks like this
I get a 401 authorization error.
I know the details I have are correct because I can post using curl with the same details.
These are the syntaxes I've tried
"Basic xxxxtokenxxxxx"
Basic xxxxtokenxxxx
!!Basic xxxxtokenxxxx
{{secrets.mytoken}}
None of these have worked.
Any help?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions