A demo of h ow we can use Rails as an API server