add put request handling
add post request handling
add delete request handling