HTTP Post per Telnet

Aus ARTECO Wiki
Zur Navigation springen Zur Suche springen

Beispiel für einen HTTP Post per Telnet

$ telnet xml.arteco.de 80

POST /coworkers/99CF4720-A7B6-012C-0591-000D609CCCD8/timekeepings.xml HTTP/1.0
Connection: Close
Content-Type: application/xml
Authorization: Basic Zm9vOmJhcg==
Content-Length: 209

<timekeeping>
<event>work_start</event>
<telematik-timestamp type="datetime">2009-12-14T17:35:42Z</telematik-timestamp>
<user-timestamp type="datetime">2009-12-14T17:35:42Z</user-timestamp>
</timekeeping>