Added complete example for JSON request to a server