Lines Matching refs:HTTP
4 ## What are the data formats supported by extraData in an HTTP request? (API 9)
8 **extraData** indicates additional data in an HTTP request. It varies depending on the HTTP request…
10 - If the HTTP request uses a POST or PUT method, **extraData** serves as the content of the HTTP re…
12 - If the HTTP request uses a GET, OPTIONS, DELETE, TRACE, or CONNECT method, **extraData** serves a…
17 ## What does error code 28 mean in the response to an HTTP request? (API 9)
21 Error code 28 is reported after an HTTP request is initiated.
25 …**, which means a libcurl library operation timeout. For details, see any HTTP status code descrip…
29 [Common HTTP Response Codes](../reference/apis-network-kit/js-apis-http.md#responsecode) and [Curl …
32 ## What does error code 6 mean in the response to an HTTP request? (API 9)
36 Error code 6 is reported after an HTTP request is initiated.
44 For more common error codes, see [Common HTTP Response Codes](../reference/apis-network-kit/js-apis…
102 ## How HTTP Requests Are Transmitted in JSON Format (API 9)
106 In the HTTP message header, **Content-Type** is used to indicate the media type information. It tel…
108 To transmit data in HTTP requests in JSON format, set **Content-Type** to **application/json**.
160 ## How do I use HTTP requests to obtain data from the network? (API 9)
164 Use the **\@ohos.net.http** module to initiate an HTTP request.
166 1. Import the **http** module and create an HTTP request.
168 2. Set the request URL and parameters and initiate the HTTP request.
174 [HTTP Data Request](../network/http-request.md)