fixed get and delete requests. need to fix post requests.