HTTPC:SetPostDataType: Difference between revisions
Jump to navigation
Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00150080] |- | 1 | HTTP context handle |- | 2 | type |} =Response= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code |- | 1 | Result code |} =Types= {| class="wikitable" border="1" |- ! Value ! Description |- | 0x0 | Use the application/x-www-form-urlencoded encoding. |- | 0x1 | Use the multipart/form-data encoding. |- | 0x2 | Don't use..." |
(No difference)
|
Latest revision as of 20:20, 18 August 2025
Request
Index Word | Description |
---|---|
0 | Header code [0x00150080] |
1 | HTTP context handle |
2 | type |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Types
Value | Description |
---|---|
0x0 | Use the application/x-www-form-urlencoded encoding. |
0x1 | Use the multipart/form-data encoding. |
0x2 | Don't use any encoding, send the raw data. |
Description
This indicates you want to use the Send* post body api and sets the encoding that will be used. Note that HTTP:C will use chunk encoding unless you use SetPostDataTypeSize instead.