Http

Function Description

Send HTTP protocol

  • Http Request Create an Http access request by GET, POST, DELET, PUT, PATCH, the URL is the full HTTP connection address, create the header Headers, Data data in the form of a dictionary, send successfully to execute Success, and send failure to execute Fail.

  • Get Status Code Return status code

  • Get Data Return request data

Instructions

Send a GET request to Baidu, return data and print

On This Page