rest - 302 Redirect for RESTful API -
i setting restful api server, , requiring clients use https. best set block port 80 , return 'not found' requests http, or should redirect of these requests https? setup web servers this, concern how clients handle 302 redirect in restful calls. there best practice or recommended way handle this?
thanks!
a common approach here respond status code 403 forbidden
, specify in response body secure connection required.
Comments
Post a Comment