# HTTP client AT commands Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html) Table : HTTP client AT commands | Command | Description | | --- | --- | | [AT+HTTPCLIENT](http_client_at_commands.html#at_httpclient) | Send HTTP client request | | [AT+HTTPGETSIZE](http_client_at_commands.html#at_httpgetsize) | Get HTTP resource size | | [AT+HTTPGET](http_client_at_commands.html#at_httpget) | Get HTTP resource | | [AT+HTTPPOST](http_client_at_commands.html#at_httppost) | Post HTTP data | | [AT+HTTPPUT](http_client_at_commands.html#at_httpput) | Put HTTP data | | [AT+HTTPURLCFG](http_client_at_commands.html#at_httpurlcfg) | Set/Query long HTTP URL | | [AT+HTTPSSLCFG](http_client_at_commands.html#at_httpsslcfg) | Set/Query certificate file | | [AT+HTTPNETCFG](http_client_at_commands.html#at_httpnetcfg) | Set/Query net configuration | ## AT+HTTPCLIENT Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html) This command sends HTTP client requests. ### Operation type Execution ### Syntax | Command | Response | | --- | --- | | AT+HTTPCLIENT | +HTTPCLIENT=<opt>,<content-type>,"url"[,"data"][,"http\_req\_header"]


OK


or:


+HTTPC:ERROR

ERROR | | AT+HTTPCLIENT=<opt>,<content-type>,<"url">,[<"data">],[<"http\_req\_header">] | You receive one of the following responses depending on the command: | ### Defined values - ``: Method of HTTP client request - `1`: HEAD - `2`: GET - `3`: POST - `4`: PUT - ``: Data type of HTTP client request - `0`: application/x-www-form-urlencoded - `1`: application/json - `2`: application/zip - `3`: multipart/form-data - `4`: text/xml - `<"url">`: HTTP/HTTPS URL. This is a string parameter and should be enclosed with quotes. - `<"data">`: If `` is a POST/PUT request, this parameter holds the data you send to the HTTP server. If not, this parameter doesn't exist. - `<"http_req_header">`: Multiple request headers can be sent to the server. The max number of request headers is 10. ## AT+HTTPGETSIZE Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html) This command gets HTTP resource size. ### Operation type Execution ### Syntax | Command | Response | | --- | --- | | AT+HTTPGETSIZE | +HTTPGETSIZE=<"url">,[<timeout>]



OK | | AT+HTTPGETSIZE=<"url">,[<timeout>] | +HTTPGETSIZE:<size>



OK | ### Defined values - `<"url">`: HTTP/HTTPS URL. This is a string parameter and should be enclosed with quotes. - ``: Network timeout. Unit: millisecond; default: 5000; range: [0,1800000]. ## AT+HTTPGET Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html) This command gets HTTP resource. ### Operation type Execution ### Syntax | Command | Response | | --- | --- | | AT+HTTPGET | +HTTPCGET=<"url">,[<timeout>]



OK | | AT+HTTPGET=<"url">,[<timeout>] | +HTTPGET:<data>,<size>



OK | ### Defined values - `<"url">`: HTTP/HTTPS URL. This is a string parameter and should be enclosed with quotes. - ``: Network timeout. Unit: millisecond; default: 5000; range: [0,1800000]. ## AT+HTTPPOST Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html) This command posts HTTP data. ### Operation type Execution ### Syntax | Command | Response | | --- | --- | | AT+HTTPPOST | +HTTPPOST=<"url">,<length>,[<"http\_req\_header">],[...]



OK | | AT+HTTPPOST=<"url">,<length>,[<"http\_req\_header">],[...] |


  1. First response:



    OK



    >






  2. Second response when the data is sent:



    +HTTPC:<data>,<size>



    +HTTPCPOST:SEND OK



    or



    +HTTPCPOST:SEND FAIL





| ### Defined values - `<"url">`: HTTP/HTTPS URL. This is a string parameter and should be enclosed with quotes. - ``: The length of the HTTP data to be posted. The maximum length is 1000. - `<"http_req_header">`: Multiple request headers can be sent to the server. The maximum number of request headers is 10. ## AT+HTTPPUT Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html) This command puts HTTP data. ### Operation type Execution ### Syntax | Command | Response | | --- | --- | | AT+HTTPPUT | +HTTPPUT=<"url">,<content\_type>,<length>,[<"http\_req\_header">],[...]



OK | | AT+HTTPPUT=<"url">,<content\_type>,<length>,[<"http\_req\_header">],[...] |


  1. First response:



    OK



    >






  2. Second response when the data is sent:



    +HTTPC:<data>,<size>



    +HTTPCPUT:SEND OK



    or



    +HTTPCPUT:SEND FAIL





| ### Defined values - `<"url">`: HTTP/HTTPS URL. This is a string parameter and should be enclosed with quotes. - ``: Data type of HTTP client request - `0`: application/x-www-form-urlencoded - `1`: application/json - `2`: application/zip - `3`: multipart/form-data - `4`: text/xml - ``: HTTP data length to put. The maximum length is 1000. - `<"http_req_header">`: Multiple request headers can be sent to the server. The max number of request headers is 10. ## AT+HTTPURLCFG Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html) This command sets or queries long HTTP URL. ### Operation type Set/Query ### Syntax | Command | Response | | --- | --- | | AT+HTTPURLCFG | +HTTPURLCFG=<length>



OK | | AT+HTTPURLCFG? | +HTTPURLCFG:<length>,<url>



OK | | AT+HTTPURLCFG=<length> |


  1. First response:



    OK



    >






  2. Second response when the data is sent:



    OK



    or



    FAIL





| ### Defined values - ``: HTTP URL length to be set. The maximum length is 256. - `0`: Clear the HTTP URL configuration - `[8, 256]`: Set the HTTP URL configuration - `<"url">`: HTTP/HTTPS URL. This is a string parameter and should be enclosed with quotes. ## AT+HTTPSSLCFG Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html) This command sets or queries the certificate file. ### Operation type Set/Query ### Syntax | Command | Response | | --- | --- | | AT+HTTPSSLCFG | +HTTPSSLCFG=<scheme>,[<"cert\_file">],[<"key\_file">],[<"ca\_file">]



OK | | AT+HTTPSSLCFG? | +HTTPSSLCFG:<scheme>,[<"cert\_file">],[<"key\_file">],[<"ca\_file">]



OK | | AT+HTTPSSLCFG=<scheme>,[<"cert\_file">],[<"key\_file">],[<"ca\_file">] | OK | ### Defined values - ``: - `0`: HTTPS no certificate verification - `1`: HTTPS verify the server certificate - `2`: HTTPS provide the client certificate (currently not supported) - `3`: HTTPS verify the server certificate and provide the client certificate - `<"cert_file">`: The file path of the certificate - `<"key_file">`: The file path of the private key - `<"ca_file">`: The file path of CA used by the client to verify the server ### Examples AT+HTTPSSLCFG=3,"/lfs/cert","/lfs/key","/lfs/ca"Copy to clipboard Note: For details about how to generate a binary file from certificates and program it to flash, see [Download and program certificates](https://docs.qualcomm.com/doc/80-Y8730-7/topic/download_and_flash_certificates.html). ## AT+HTTPNETCFG Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/http_client_at_commands.html) This command sets or queries the net configuration. ### Operation type Set/Query ### Syntax | Command | Response | | --- | --- | | AT+HTTPNETCFG | +HTTPNETCFG=<netcfg\_type>,<value>



OK | | AT+HTTPNETCFG? | +HTTPNETCFG:<http port>,<https port>,<ip prefer>,<pre-allocate\_ssl\_buf>,<data cache>



OK | | AT+HTTPNETCFG=<netcfg\_type>,<value> | OK | ### Defined values - ``: - `0`: Configure the HTTP port - `1`: Configure the HTTPS port - `2`: Configure the preferred IP version - `3`: Configure the pre-allocate\_ssl\_buf function - `4`: Configure the data cache function - ``: Net configuration value: - When `netcfg_type=0`: The value for the HTTP port with the range of [0-65535]. Default value: 80. - When `netcfg_type=1`: The value for the HTTPS port with the range of [0-65535]. Default value: 443. - When `netcfg_type=2`: The value for the preferred IP version: - `0`: IPv4 (default value) - `1`: IPv6 - When `netcfg_type=3`: The value for pre-allocate\_ssl\_buf: - `0`: Default value - `1`: Pre-allocate buffer for SSL - `2`: Release pre-allocated buffer - When `netcfg_type=4`: The value for the data cache function. Data cache is used for HTTP POST/PUT scenarios where a piece of data might be transmitted in multiple parts over SPI. - `0`: Disable data cache. The data is sent immediately. - `1`: Enable data cache (default value). The data is sent when all data has been received. Last Published: Jul 30, 2026 [Previous Topic MQTT client AT commands](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-7/topics/mqtt_client_at_commands.md) [Next Topic HTTP server AT commands](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-7/topics/http_server_at_commands.md)