Forum Academy Marketplace Showcase Pricing Features

Is it possible to configure Bubble API endpoints to respond to HEAD requests (not POST requests)?

Hi everyone,

I am trying to configure an API endpoint to work with webhooks from a Stripe Partner platform called Quaderno. The issue is that in order to set up a webhook, Quaderno requires that the API endpoint respond to a HEAD request first, before they will set up the web hook and allow you to send requests to your API endpoint from it.

Has anyone had any experience with this sort of thing? I will post their full guidance info below, for context. Thanks in advance for any help or direction you can offer with this!

Webhook URLs should be set up to accept HEAD and POST requests. When you provide the URL where you want Quaderno to POST the data for events, we’ll do a quick check that the URL exists by using a HEAD request (not POST).

If the URL doesn’t exist or returns something other than a 200 HTTP response to the HEAD request, Quaderno won’t be able to verify that the URL exists and is valid.

This will return 201 Created with the current JSON representation of the webhook if the creation was a success.