What's the syntax for sending XML via PHP?

Kogepan

New member
Here's the info from the API I'm trying to interface with:

"The CentovaCast automation API makes use of a very simple XML-over-HTTP protocol to accept and respond to requests. API methods are called via a standard HTTP POST request to the api.php
script in the Centova Cast web root, in which an XML request packet is provided as POST data.
CentovaCast responds to API requests by returning an XML response packet as the payload of the
HTTP response."

I know how to write the XML, I'm just lost on how to send it. Through a simple HTML form via POST, or is there something more complicated I should know?

Links to any kinds of sample code would be awesome!
 
Back
Top