NSTreinTracker: Difference between revisions

From RevSpace
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:
curl http://vt.ns-mlab.nl/gps/treinen -H 'Cookie: session=abcd' -H 'Sec-WebSocket-Key: DjsM0+tTqkMvqhTBzRGT8A==' -H 'Sec-WebSocket-Version: 13' -H 'Connection: Upgrade' -H 'Upgrade: websocket'
curl http://vt.ns-mlab.nl/gps/treinen -H 'Cookie: session=abcd' -H 'Sec-WebSocket-Key: DjsM0+tTqkMvqhTBzRGT8A==' -H 'Sec-WebSocket-Version: 13' -H 'Connection: Upgrade' -H 'Upgrade: websocket'


<code>
</code>

Latest revision as of 15:00, 27 December 2016

NS Trein Tracker


NS Trein APP gebruikt een websocket API voor de trein locatie update:

curl http://vt.ns-mlab.nl/gps/treinen -H 'Cookie: session=abcd' -H 'Sec-WebSocket-Key: DjsM0+tTqkMvqhTBzRGT8A==' -H 'Sec-WebSocket-Version: 13' -H 'Connection: Upgrade' -H 'Upgrade: websocket'