Echo server to test get and post methods