Difference between revisions of "HTTPC:AddPostDataBinary"

From 3dbrew
Jump to navigation Jump to search
(Add HTTPC:AddPostDataBinary)
 
 
Line 44: Line 44:
  
 
=Description=
 
=Description=
Passes binary data from the buffer into the body of the HTTP POST request.
+
This URL-encodes the specified "name=value" with binary data, then adds it to the POST data which will be uploaded once the request is sent.

Latest revision as of 13:34, 5 April 2017

Request[edit]

Index Word Description
0 Header code [0x001300C4]
1 HTTP context handle
2 Form name buffer size, including null-terminator.
3 Binary data size.
4 (FormNameSize<<14) | 0xC02
5 Form name data pointer
6 (BinaryDataSize<<4) | 10
7 Binary data pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This URL-encodes the specified "name=value" with binary data, then adds it to the POST data which will be uploaded once the request is sent.