Modifying test server and client

- Add curl with JSON payload snipet