# I want to have a python script that sends a post command when a specific IP address is accessed

**URL:** <https://forums.digi.com/t/i-want-to-have-a-python-script-that-sends-a-post-command-when-a-specific-ip-address-is-accessed/20902>\
**Category:** Python\
**Tags:** python\
**Created:** [November 15, 2019, 4:12pm UTC](https://forums.digi.com/t/i-want-to-have-a-python-script-that-sends-a-post-command-when-a-specific-ip-address-is-accessed/20902 "2019-11-15T16:12:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joelgrinke](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@joelgrinke](https://forums.digi.com/u/joelgrinke)\
**Post date:** [November 15, 2019, 4:12pm UTC](https://forums.digi.com/t/i-want-to-have-a-python-script-that-sends-a-post-command-when-a-specific-ip-address-is-accessed/20902/1 "2019-11-15T16:12:13Z")

</div>

Hi Everyone,

I’m new to these and I’m wondering about the best way to send an HTML post request when an IP address is accessed.

The IP would be 206.152.27.137  
HTML would be [http://10.10.155.10/exe.cgi](http://10.10.155.10/exe.cgi)

Thanks for any help you can offer

---

<div class="post-metadata">

**Author:** ![joelgrinke](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@joelgrinke](https://forums.digi.com/u/joelgrinke)\
**Post date:** [November 18, 2019, 11:29am UTC](https://forums.digi.com/t/i-want-to-have-a-python-script-that-sends-a-post-command-when-a-specific-ip-address-is-accessed/20902/2 "2019-11-18T11:29:59Z")

</div>

I realized that I missed a key piece of info:

The device is the Transport WR11XT
