The example here is similar to the example in the json directory but it uses WaitForHttpServer and inline HTTP calls instead of launching the server and separately using curl.
json