add example showing JSON and HTTP params