Rc1/basic api

Write api for post, patch requests