Firebase 405 Method is not allowed

962 views
Skip to first unread message

Oscar Garcia

unread,
Jul 22, 2019, 11:02:03 PM7/22/19
to Firebase Google Group
 I am trying to create a webhook into Firebase. This requires a HTTP HEAD request on the Firebase UR which returns a 405.

Is there a way to configure this method on Firebase?

Thanks

Alex Memering

unread,
Jul 23, 2019, 12:39:57 PM7/23/19
to fireba...@googlegroups.com
What product are you using?  Cloud Functions for Firebase?  Then you might need to configure Express to handle the HEAD requests.

Alex Memering | Software Engineer | meme...@google.com 


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/ecbed22c-0f3c-436b-8019-4707e86b922c%40googlegroups.com.

Oscar Garcia

unread,
Jul 24, 2019, 10:05:33 AM7/24/19
to Firebase Google Group
I am using the real-time database URL.   I decided to use a function instead  because it provides more flexibility.   The Method not Allowed error on a HEAD request is not a problem when using functions.

To answer the question, I found no way to allow a HEAD request when using the link to the database which is a common request when using a webhook integration. I recommend the use of functions instead.


Thanks.


On Tuesday, July 23, 2019 at 12:39:57 PM UTC-4, Alex Memering wrote:
What product are you using?  Cloud Functions for Firebase?  Then you might need to configure Express to handle the HEAD requests.

Alex Memering | Software Engineer | meme...@google.com 


On Mon, Jul 22, 2019 at 8:02 PM 'Oscar Garcia' via Firebase Google Group <fireba...@googlegroups.com> wrote:
 I am trying to create a webhook into Firebase. This requires a HTTP HEAD request on the Firebase UR which returns a 405.

Is there a way to configure this method on Firebase?

Thanks

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fireba...@googlegroups.com.

Angel The Angel

unread,
Jul 25, 2019, 10:01:09 AM7/25/19
to Firebase Google Group
yes
Reply all
Reply to author
Forward
0 new messages