HTTPC:AddPostDataAscii

RequestEdit

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

ResponseEdit

Index Word Description
0 Header code
1 Result code

DescriptionEdit

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.