Mailinglist Archive: yast-devel (163 mails)

< Previous Next >
[yast-devel] Using curl for sending REST API requests
  • From: Ladislav Slezak <lslezak@xxxxxxx>
  • Date: Wed, 09 Sep 2009 16:08:39 +0200
  • Message-id: <4AA7B6E7.50901@xxxxxxx>

Hi all,

While documenting a REST API I realized that I'd like to test
the XML examples which I have created.

I have added a new section on the Tips wiki page [1] describing how to use curl
for
this task.

The page describes how to authenticate to the REST API, how to send PUT/POST
requests and how to send a XML input file.

Enjoy!


[1]
http://en.opensuse.org/YaST/Web/Development/Tips#Using_curl_for_sending_REST_API_requests

--

Best Regards

Ladislav Slez√°k
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >