Add basic API which can make GET and POST requests