Added GET and POST doc methods