POST method example
POST method example Example of monitoring a webform with POST method.

For example you have such simple form:
form action="some-site.com/some-script.cgi" method=post
input type=text name=login value=''
input type=password name=password value=''
input type=submit name='Submit' value='Login'
/form
User fill this form with value login: Peter and password: 1234 and click submit. If everything is Ok, script prints "LoginOk" on the result page.
For making a monitoring task to control this script, create task with next fields:

URL: some-site.com/some-script.cgi
Http Method: choose POST
In "POST parameters" field you should add three strings:
login=Peter
password=1234
Submit=Login
In "Content check" field: LoginOk
Results: HostTracker with every check will fill this form and assume that it is OK if the set keyword LoginOk is returned.

  • CM.Glossary.WebsiteMonitoring
  • CM.Glossary.HTTPMethods
more glossary
"

This service helps me track when my website goes offline on all service platforms which are accessible (SMS, Emails and Skype) making me be aware of any issues as they occur and act instantly to make sure the customer remains happy.

"
- J.
How to activate API for your Host-Tracker account

HostTracker API uses widespread XML and JSON formats. Interactions with API are made by HTTP methods GET, POST, PUT, DELETE, PATCH.

To activate API for your HostTracker account, one should write a request to ht2support@host-tracker.com, with the login specified.

Host-tracker API

API stands for "application programming interface". It is one of the features for HostTracker website monitoring service, which is implemented in preset list of HTTP requests and HTTP responses for maintaining and adjusting HostTracker features for your convenience. It provides possibility to develop applications which will automatically cooperate with HostTracker service, instead of manual adjustments via user interface.
HostTracker API uses widespread XML and JSON formats. Interactions with API are made by HTTP methods GET, POST, PUT, DELETE, PATCH.

To activate API for your HostTracker account, one should write a request to ht2support@host-tracker.com, with the login specified.

REST API description:

https://www.host-tracker.com/api/web/help.html

SOAP API description:

www.host-tracker.com/api/soap/v1/help.html

more blog
Thank you for feedback!
 
Sign In
Sign Up
Prices & packages
Our monitoring network
Home > FAQ > AddSite
Sign in at www.host-tracker.com and on the main page and click "Add", for web sites click on http. Then fill regular task creation form.
Tags: monitoring
Share:
Send to Twitter Send to Facebook Send to LinkedIn Share on Google+
Blogs:
HostTracker blog HostTracker page on Facebook