This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:products:comfortel-d-series:d-100-200:developer:keys:http [09.04.2019 08:25]
westhuis ↷ Page name changed from en:wiki.auerswald.de:products:comfortel-d-series:d-100-200:developer:keys:http to en:wiki.auerswald.de:products:comfortel-d-series:d-100-200:developer:keys:httprequest
en:products:comfortel-d-series:d-100-200:developer:keys:http [09.04.2019 09:03] (current)
westhuis ↷ Page name changed from en:wiki.auerswald.de:products:comfortel-d-series:d-100-200:developer:keys:httprequest to en:wiki.auerswald.de:products:comfortel-d-series:d-100-200:developer:keys:http
Line 1: Line 1:
 +====== HTTP ======
 +The phone sends a http(s)-Request.
 +You can use the HTTP Methods ''​GET''​ and ''​POST''​.
 +The specified uri is queried.
 +You can also specify additional headers and the post content.
 +The requests response code can be used to set the keys LED.
 +**Example: **
 +<code xml>
 +<key keyNumber="​13"​ label="​http">​
 + <​keyConfiguration>​
 +   <​function>​
 +     <​invocations>​
 +       <​invocation>​
 +        <​http>​
 +          <request httpMethod="​get">​
 +            <​uri>​http://​​test_menu.xml</​uri>​
 +            <​httpHeader header="​called"​ value="​77"/>​
 +          </​request>​
 +        </​http>​
 +       </​invocation>​
 +     </​invocations>​
 +   </​function>​
 + </​keyConfiguration>​