|
|
#1 |
|
Junior Member
Join Date: May 2013
Posts: 4
|
SHOUTcast Transcoder AJAX api Problem
I'am trying to create an application (in C# .NET Framework 4, Visual Studio) that make a simple request to api and retrive info .
code: But I get an error "The server committed a protocol violation. Section=ResponseStatusLine"; at line "WebResponse response = request.GetResponse();" Also trying to create a php page that make the same thing doesn't return nothing. PHP Code:
|
|
|
|
|
|
#2 |
|
Forum King
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,087
|
No alert box shows because php is not JavaScript and also does not have an Ajax object.
|
|
|
|
|
|
#3 |
|
Join Date: Sep 2003
Posts: 27,873
|
and there's no password details provided in the request and i wouldn't be surprised if it's not even been correctly configured in sc_trans to enable the support either.
|
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: May 2013
Posts: 4
|
Quote:
How can I do that? "configured in sc_trans to enable the support either" . "and there's no password details provided in the request" should I do something like : code: |
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: May 2013
Posts: 4
|
Ok. So I reused to post data to API but ... the response is something like "?|?]???{??G>?f?4|?@??.
code: What I'm doing wrong ? After I press ok to close messagebox my application freeze. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|