Does OttoFMS Webhooks support GET request webhooks?

I’m working with a platform that will send webhooks using a GET request so all the data is in query parameters. I see OttoFMS webhooks work with incoming POST requests - do they also support incoming GET requests as well?

Hello!

Welcome to the community :slight_smile:

Sorry I don’t have good news for you here. OttoFMS’s webhook’s listener uses POST Requests, not GET Requests. :frowning:

Todd

Thanks Todd - I suspected that was the case. I just checked with the provider and they can only send GET requests at present. Wondering if there’s something I can host on the server (e.g. Javascript file?) that can convert the incoming GET request and send it to Otto as a POST request?

I would normally use PHP for receiving this but don’t want to go to the hassle of installing PHP on their server if I can avoid this (Mac server).

Hello :slight_smile:

If you run anything else on the server, you will likely have to open a port, because you can’t hook into the webserver easily to get access to port 80 and 443.

Except for PHP. PHP would let you do that though. You can host a file a php file that would do the passthrough.

Or you could host some JavaScript somewhere else using something like Vercel.

Hope that helps.

Thanks

Todd

Or node-red to convert the GET to a POST??

Hey y’all,

We’re thinking about supporting GET requests in webhooks, stay tuned for updates.

This feature will likely include the URL search params in the script input and support the existing includeHeaders functionality. I’ll keep y’all updated!

-Kyle

1 Like

Hey y’all,

This feature will be included in our next release. Thank you!

-Kyle

1 Like

Hey y’all,

Version 4.5.0 allows you to make GET requests with OttoFMS webhooks!! There are some details about this in the docs.

Thanks Kyle that’s great!

1 Like