Created basic API support to post and get