How to correctly deal with 302 status code

天大地大妈咪最大 提交于 2020-01-06 19:42:06

问题


Im not sure how i should deal with a HTTP_STATUS of 302 in my response to an API request?

Im trying to write a small Node.js script and i have a feeling this is to do with the HTTPS upgrade of the request i send?

Any help would be great


回答1:


It's nothing (specifically) to do with HTTPS, it just a temporary redirect.

Read this article on Wikipedia.



来源:https://stackoverflow.com/questions/12420686/how-to-correctly-deal-with-302-status-code

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!