[Spacewalk-list] Spacewalk API CURL examples

Strahil Nikolov hunter86_bg at yahoo.com
Mon Jun 3 09:06:18 UTC 2019


On June 3, 2019 11:44:29 AM GMT+03:00, Michael Mraka <michael.mraka at redhat.com> wrote:
>Strahil Nikolov:
>> Hello Community,
>> 
>> I'm trying to find an examples for accessing the API via curl
>(xml/json) ,as I do not have experience with perl/python/rubi .
>
>Hello Strahil,
>
>Using curl for API is possible but creating XML responses is tedious.
>If you want to use API from command line try either spacewalk-api (from
>spacewalk-utils package) or spacecmd (from spacecmd package).
>
>> Can someone provide a link to examples via curl, as I want to play a
>little bit with my Uyuni system.
>> 
>> Thanks in advance.
>> 
>> Best Regards,
>> Strahil Nikolov
>
>Regards,
>
>--
>Michael Mráka
>System Management Engineering, Red Hat
>
>_______________________________________________
>Spacewalk-list mailing list
>Spacewalk-list at redhat.com
>https://www.redhat.com/mailman/listinfo/spacewalk-list

Hi Michael,

Thanks for the suggestions.
I have just tried 'spacecmd' and it suits my needs.

Best Regards,
Strahil Nikolov




More information about the Spacewalk-list mailing list