546
edits
(all chaes revrted.. sorry.. new to WiKi) |
Epoximator (talk | contribs) |
||
Line 10: | Line 10: | ||
== Formats used in this Spec == | == Formats used in this Spec == | ||
* {vartype varname} - Specifies what shall be inserted at this point and its type. | |||
* [...] - Everything between [ and ] is optional. | |||
=== Used types === | === Used types === | ||
* ''int2'' - 2 byte Integer (in string representation) | |||
* ''int4'' - 4 byte Integer (in string representation) | |||
* ''str'' - String (NOTE: might be as long as 5000 bytes !!!, but via udp api never extend 1400 bytes) | |||
=== Content Encoding === | === Content Encoding === | ||
* Default character encoding: ''ASCII'' | |||
* Escape scheme for option values (to server): ''html form encoding'' + ''newline'' | |||
** This means you have to encode at least <tt>&</tt> in your option values in html form encoding style (<tt>&amp;</tt>) before sending them to the api server. All other html form encodings are optional. | |||
** All newlines should be replaced by <br /> | |||
* Escape scheme for returned data fields (from server): ', | and newline | |||
** Newlines are encoded as <br />, ' is encoded as ` and | is not allowed in data fields. | |||
== Basics == | == Basics == |
edits