Skip to content

Instantly share code, notes, and snippets.

@goodloop
goodloop / API.md
Created September 10, 2017 07:21 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

[bg jobs:0] 08:11:32 [gavin@GavinMacBook.local:local-/dev/ttys006 +1] ~/Documents/codeCollection/network/live555/testProgs
$ ./testRTSPClient rtsp://media.chinabroadcast.cn/eng/music/morning/2012/1026a.wmaOpening connection to 220.181.39.217, port 554...
...remote connection opened
Sending request: DESCRIBE rtsp://media.chinabroadcast.cn/eng/music/morning/2012/1026a.wma RTSP/1.0
CSeq: 2
User-Agent: ./testRTSPClient (LIVE555 Streaming Media v2012.10.24)
Accept: application/sdp
Received 1440 new bytes of response data.