How to Monitor an API

Using Pulsetic.com, you can also monitor your API. You'll need some programming abilities to set up the monitor for an API; if you don't know how to implement this, please ask your developer for assistance.
We'll show you how to use Pulsetic.com to set up an API and monitor its status in this post. We'll use the Flickr API in this example.

Adding an API to Pulsetic

Login to your Pulsetic account and add this monitor example: https://www.flickr.com/services/rest/

Go to Advanced Settings on this monitor after you've added it.

Now click on Request Settings and choose the HTTP Method you need: POST or GET in our case.

Using the Request Header section, we'll add two headers:

  • method flickr.photos.getRecent
  • api_key 327dbc2d2fbf49e534617ba694bf0a9f

Click the Update button.

Now, click the Response Settings tab and add rsp sta to the Response Text area.

Click the  Update button.

On the right sidebar, click the  Run Check & See Result button.

What should happen? Which should be the result of our example? A post/get request is being made to flickr.com with the following information attached:

  • method = flickr.photos.getRecent
  • api_key = 327dbc2d2fbf49e534617ba694bf0a9f

Based on the request, the website is returning an XML formatted response. Pulsetic is verifying whether the response contains the string "rsp sta" or not. If it exists, the status "200 OK" will be shown.

Still need help? Contact Us Contact Us