Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:mervis-ide:65-webpanel:webpanel-api [2017/06/21 14:35] m.chlupac [Request] |
en:mervis-ide:65-webpanel:webpanel-api [2019/05/21 09:45] m.chlupac [Request] |
||
---|---|---|---|
Line 26: | Line 26: | ||
==== Request ==== | ==== Request ==== | ||
+ | |||
+ | **URL:** '' | ||
<code js>{ | <code js>{ | ||
Line 39: | Line 41: | ||
* variable ID is unique string - in future, may be different for different platforms/ | * variable ID is unique string - in future, may be different for different platforms/ | ||
- | === Variable specification for RT2 === | + | === Variable specification for Mervis RT === |
* svc - protocol | * svc - protocol | ||
Line 49: | Line 51: | ||
the POST body can be: | the POST body can be: | ||
- | - JSON string (AngularJS default behaviour): | + | - JSON string (AngularJS default behaviour): <code js> |
- | <code js> | + | - converted into POST parameters (jQuery default behaviour):< |
- | - converted into POST parameters (jQuery default behaviour): | + | |
- | < | + | |
- | The best solution would be to support both versions. Easier is now the JSON string. | ||
==== Response ==== | ==== Response ==== | ||
Line 73: | Line 72: | ||
=== Encoding of values - version 1 === | === Encoding of values - version 1 === | ||
- | Ea | + | |
===== Command Request ===== | ===== Command Request ===== |