home RPC:

uRPC micro Remote Procedure Calls - 0.97

» news | search | translate
Email Facebook Linkedin Pinterest Reddit Telegram Tumblr Whatsapp X

Binary formats

are optimized for microcontrollers.
Types:
msgpack               Msgpack
raw_be_subtype        binary data, Big Endian
raw_le_subtype        binary data, Little Endian
Subtypes: float32 float64 int8 int16 int32 uint8 uint16 uint32
You can provide the input data via an HTTP POST request with the data in the request body (maximum 256 KB).

Example:
fmt=raw_be_int32


Text formats


Types:
<separator>           values are separated by <separator>; rows are LF terminated
					  note: tilde (~) is reserved, the separator cannot use it
json                  Json
You can provide the input data either via an HTTP GET request using the input query parameter (UTF-8 encoded), or via an HTTP POST request with the data in the request body (maximum 256 KB).

Example:
fmt=,                 text; values are comma separated
input=1,2,3\n4,5,6