add code to handle links that result in POST, PUT, or DELETE requests