Skip to content

Commit 2a4b308

Browse files
authored
增加http header:"recordId:1"
1 parent 03ed8db commit 2a4b308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/at_custom_cmd/custom/at_custom_cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ static uint8_t at_setup_cmd_fs_to_http_server(uint8_t para_num)
598598
char value[128];
599599
snprintf(value, 128, "multipart/form-data; boundary=--%s", boundary);
600600
esp_http_client_set_header(sp_fs_to_http->client, "Content-Type", value);
601-
601+
esp_http_client_set_header(sp_fs_to_http->client, "recordId", "1");
602602
// construct http body start and end
603603
int rlen = 0;
604604
body_start = calloc(1, 512);

0 commit comments

Comments
 (0)