a simple http request with json data that gets mirrored back to the caller