How to check for an HTTP status code of 401?

后端 未结 4 1415
我在风中等你
我在风中等你 2020-12-22 06:27

In one of the answers that I have received here, I encountered a problem of not knowing how to pass automatically through \"Google App Engines\" my ID and a password to a we

4条回答
  •  我在风中等你
    2020-12-22 07:28

    Unless I don't understand fully your question, you can grab the return code from the Response Object using the status_code property.

    First, you'll have to issue a fetch() to the URL you want to test.

提交回复
热议问题