Noobie question

Read 3417 times
I want to experiment with the Json API and I try to call[username]=admin&a[password]=demo
Instead of getting a Json response I get the streaming web page.
Do I miss something here?

what exactly are you trying to get? what kind of information to retrieve?

If you use this HTML code you will get your streams with details..there are other details you can add just check documentation...

     <meta http-equiv="refresh" content="600">

<script language="javascript" type="text/javascript" src="http://yourserverIP:port/system/streaminfo.js"></script>

<table width=100% border="2" align="center" cellpadding="0" cellspacing="1">
       <th>Number of stream</th>
       <th>Stream Name</th>
       <th>Music being playerd</th>

    <tr>  <td>1</td> <td>stream name</td><td> <span id="cc_strinfo_listeners_YOURSTREAM" class="cc_streaminfo">Loading</span></td> <td> <span id="cc_strinfo_song_YOURSTREAM" class="cc_streaminfo">Loading</a></td>  </tr>

you need one line per steam, just repeat in the code...