This is the client side code for an in-class exercise building a web API.