# Calling webhook API from VM instance on GCP

**URL:** <https://forum.rasa.com/t/calling-webhook-api-from-vm-instance-on-gcp/45589>\
**Category:** Rasa Open Source\
**Created:** [July 10, 2021, 10:44am UTC](https://forum.rasa.com/t/calling-webhook-api-from-vm-instance-on-gcp/45589 "2021-07-10T10:44:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![BELIEVEIT](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/believeit/32/15170_2.png) [@BELIEVEIT](https://forum.rasa.com/u/BELIEVEIT)\
**Post date:** [July 10, 2021, 10:44am UTC](https://forum.rasa.com/t/calling-webhook-api-from-vm-instance-on-gcp/45589/1 "2021-07-10T10:44:50Z")

</div>

Hi , i recently follow this tutorial [https://www.youtube.com/watchv=9C1Km6xfdMA&t=557s&ab\_channel=DigitalBreed](https://www.youtube.com/watchv=9C1Km6xfdMA&t=557s&ab_channel=DigitalBreed) to deploy my chatbot to a VM on Google cloud using docker-compose .

When tested on local PC [http://localhost:5005/webhooks/rest/webhook](http://localhost:5005/webhooks/rest/webhook) with the sender and message json body , i’m able to post to the webhook url to get response from chatbot.

But after i successfully deploy my chatbot with a static url , i’m unable to make a POST to webhook API using the static IP given e.g VM instance IP tested with widget [http://34.133.213.72/](http://34.133.213.72/). It return me Cannot POST /webhooks/rest/webhook

I would like to know how can i make it so i can access the webhook API similar with how i did it in local PC e.g [http://34.133.213.72:5005/webhooks/rest/webhook](http://34.133.213.72:5005/webhooks/rest/webhook) . Thanks

This is my chatbot i used to deploy with the docker-compose [GitHub - believeitcode/test\_deployment: test\_deployment on GCP](https://github.com/believeitcode/test_deployment)

---

_[View the full topic](https://forum.rasa.com/t/calling-webhook-api-from-vm-instance-on-gcp/45589)._
