Updating to allow for all HTTP request methods, not just GET