3

My website has a chatbot on it. This bot is attempting to do a POST request to the google custom search tool. I have a custom search page set up already.

When I make the POST request, I receive a 405 error. Does Google allow POST requests to the custom search tool?

I am doing a POST from Manychat if that changes anything.

2
  • What is a "push request"? I know about "push notifications", but I can't think of a scenario in which "push" would be appropriate far a custom search. Maybe you actually mean a POST request? – Stephen Ostermiller Apr 12 '19 at 22:26
  • You are correct its a Post request I am attempting to fill the search field with text entered into the chatbot. – Zanzibar Apr 13 '19 at 1:04
2

I was posting the wrong kind of json took me days to solve but I got it google custom search only excepts get requests to the googleapi.com/customserach url.

1
  • 1
    Thank you for coming back and letting us know what was wrong. – Stephen Ostermiller Sep 20 '19 at 23:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.