How To Create and Test An API