Centova Technologies Forum

Centova Cast v2 => Technical discussion => Topic started by: Juanfran on January 26, 2012, 12:42:35 am

Title: url of the server to send xml packets
Post by: Juanfran on January 26, 2012, 12:42:35 am
Hi,

I get the title of the current song, using the API. What is the URL where to send the package xml? I do not know how to send xm packagel to the server. Please help.

Regards,
Title: Re: url of the server to send xml packets
Post by: Mark Randall on January 26, 2012, 03:42:10 am
Hello,

I'm not 100% sure what you are trying to do here? We do have an XML API guide which will show you how to do virtually everything you need to you server, this is however offered with no support.

This can be found by clicking here (http://www.centova.com/docs/cast/CentovaCast%20-%20XML%20API%20Documentation.pdf)
Title: Re: url of the server to send xml packets
Post by: Juanfran on January 26, 2012, 03:54:09 am
Thanks for answering.

The documentation I have it.

But what I want to know the url of the server to send xml packages. For example:

http://23.23.23.23:8080/path/

I do not know how to create a php script to send data to the server.

regards
Title: Re: url of the server to send xml packets
Post by: Mark Randall on January 26, 2012, 04:02:36 am
If you read that guide you will see that your XML script has to contact api.php on the server which is in the web root.

For example if your server was located at http://mystreams.cc/cast your would point it to http://mystream.cc/cast/api.php

You don't send it to the server:port number

Please read the guide again.