Ghost Webhook - HTTP Basic Authentication

Hi,

Is there any way we can set headers to the webhook target URL?

or can we use HTTP Basic authentication like following
https://username:password@target_url/function

https://admin:password@cloud.herokuapp.com/api/functions/hello

:thinking:

My requirement is to use Parse Cloud Function as the webhook target URL.

There is no way right now to set custom headers on webhook requests.

Have you tried configuring a webhook URL containing a user/password? Running a quick test locally showed that the webhook request will be sent out with the correct Authorization: Basic xxxxx header

@Kevin I have tried with (username:password@url) my live Ghost publish but I did not get my rest API triggered by Ghost.

  • But when I test the API with Postman (with Basic Auth enabled & No headers present) it triggered.
  • Also when I test the Ghost webhook with webhook.site service (of course it is a normal rest API) it works too.

That’s why I wanted to clarify by posting on the forum.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.