Contentful logo

Contentful Community

Webhook HTTP request redirection

webhooks
#1

Hi there,

I’ve created a webhook to make a HTTP POST on content publish and it’s being called as expected, however I’m always receiving 302 redirection status code on the responses. Can webhooks be configured to follow redirections?

Cheers

#2

Hi @nuno.barreiro,

Would it not be easier to trace the final URL of the webhook target and update the webhook to call that URL instead? I don’t see the need to follow the redirection chain.