Someting like: https://github.com/cobbler/cobbler/blob/master/contrib/api-examples/demo_connect.py
On Fri, Apr 24, 2015 at 6:57 PM, Alan Evangelista <[email protected] > wrote: > On 04/24/2015 08:20 AM, Hrishikesh wrote: > >> Hi All, >> >> cobbler check, cobbler sync, cobbler_web, cobblerd service All is OK. But >> I am not able to access cobbler_api. Can anyone please help ? Following is >> the log of wget. >> >> [root@cobbler2 conf]# wget http://localhost/cobbler_api >> --2015-04-24 16:47:05-- http://localhost/cobbler_api >> Resolving localhost (localhost)... ::1, 127.0.0.1 >> Connecting to localhost (localhost)|::1|:80... connected. >> HTTP request sent, awaiting response... 501 Unsupported method ('GET') >> 2015-04-24 16:47:05 ERROR 501: Unsupported method ('GET'). >> > > Cobbler API is not a REST interface, it is a XML-RPC interface. > XML-RPC supports only the POST method in HTTP requests. > If you want to test your local Cobbler server XML-RPC interface, > open a Python shell and create a XML RPC client pointing to > correct URL. > > > Regards, > Alan Evangelista > > _______________________________________________ > cobbler mailing list > [email protected] > https://lists.fedorahosted.org/mailman/listinfo/cobbler > -- Grtz, Jörgen Maas
_______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
