route set and check content-type depending on accept request header