added query's to post, put, get and delete