On 05/08/2012 10:50 AM, Michelle Konzack wrote:
Hello *, I have to implement an interface which must access a Domain-Registration API. From the manual I have for example: ----8<------------------------------------------------------------------ Example 2.8. Contact Update:valid(change password) Change password from multipass to green REQUEST: Generic Operation: POST(http://backend.example.com/bdom/contact/update/DOJOB0001/1/,xml) Where xml: <?xml version="1.0" encoding="UTF-8"?> <request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <type>PERS</type> <sex>MALE</sex> <first-name>Otto</first-name> <last-name>Normalverbraucher</last-name> <organisation>Acme Gmbh</organisation> <street>Main Strasse</street> <number>13</number> <postcode>555555</postcode> <city>Newe Stad</city> <country>DE</country> <phone>+040.0123456789</phone> <fax>+040.0123456789</fax> <email>hans@xxxxxxxxxx</email> <password>new_secret</password> </request> RESPONSE: <response>1 updated</response> ----8<------------------------------------------------------------------ The problem is (I am sitting on my line) that I do not understand how to send this XML stuff. Any hints please? Thanks, Greetings and nice Day/Evening Michelle Konzack
Look into cURL http://php.net/curl -- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples/ http://www.bendsource.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php