https_client icon indicating copy to clipboard operation
https_client copied to clipboard

how to get response content ALL?

Open smarttang opened this issue 7 years ago • 2 comments

hi->body_size = size

this size is 4096... not all???

smarttang avatar Apr 26 '17 11:04 smarttang

The http_get / http_post API is designed to take the buffer size as a parameter to the user and return the body only to the buffer size(Size is not set to 4096 and is what you specify when you call the API). This can be used to send and receive simple text REST data in the embedded system.

If you want to read the entire body, you might want to use the http_read_chunked API.

HISONA avatar Apr 28 '17 02:04 HISONA

thx hisona ~ I want to ask for advice something about the http_read_chunked API,can you give me email address about your? 👍 ~~

smarttang avatar Apr 28 '17 02:04 smarttang