added Put Post, Delete and Patch methods