Difference between revisions of "HTTPC:AddPostDataAscii"
Jump to navigation
Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001200C4] |- | 1 | HTTP context handle |- | 2 | Form name buffer size, including...") |
(No difference)
|
Revision as of 17:46, 9 July 2013
Request
Index Word | Description |
---|---|
0 | Header code [0x001200C4] |
1 | HTTP context handle |
2 | Form name buffer size, including null-terminator. |
3 | Form value buffer size, including null-terminator. |
4 | (FormNameSize<<14) | 0xC02 |
5 | Form name data pointer |
6 | (FormValueSize<<4) | 10 |
7 | Form value data pointer |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description
This URL-encodes the specified "name=value" data, then adds it to the POST data which will be uploaded once the request is sent. When using this command, HTTPC:AddRequestHeader must be used to add a "Content-Type: application/x-www-form-urlencoded" header.