Example of post request to server and parse response json