title: Run a little HTTP server to check callback
body: <p>I would like to run a script that will create a simple HTTP server and run a function for each request.</p>
  
  <p>I am using Python to test an API that should give me a callback.
  For now, I am using <a href="http://requestb.in/" rel="nofollow">http://requestb.in/</a> to test the callback, but I would like to test it directly in my python script.</p>
  
  <p>Is it possible to run a callback server bind on localhost:6548 and test something base on a request?</p>
  
  <p>Thank you for your help.</p>