Skip to content
This repository has been archived by the owner on Jun 3, 2019. It is now read-only.

meehow/reqcounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Request counter

It's very simple http request counter. I made to debug proxy server, but feel free to use it for whatever you need.

There is deployed "cloud version" on http://reqcounter.herokuapp.com/

How to use it?

Just post any json with element id inside:

$ curl -i --data '{"id": "test"}' http://reqcounter.herokuapp.com/ 
HTTP/1.1 202 Accepted
Server: Cowboy
Connection: keep-alive
Date: Thu, 25 May 2017 11:49:15 GMT
Content-Length: 0
Content-Type: text/plain; charset=utf-8
Via: 1.1 vegur

and you can check how many requests successfully arrived by giving the same id as a parameter to GET request:

$ curl 'http://reqcounter.herokuapp.com/?id=test' 
1

You can also use it with ApacheBench

asciicast

About

HTTP requests counter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages