Re: Curl-Loader questions
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2011-02-27 16:31:16
|
Hi Yossi, On Sun, Feb 27, 2011 at 6:08 PM, Yossi Shaul <y1...@gm...> wrote: > > 1. When the tag FORM_STRING is used to read data from file, can you read > more than 2 variables (credentials) from the file? > Yes > 2. Can MULTIPART_FORM_DATA tag get data from external file? > No, but it is easy to add, simple C-prog. > 3. Can MULTIPART_FORM_DATA/FORM_STRING tag be used with PUT request? > REQUEST_TYPE - HTTP request method to be chosen from GET, POST or PUT. Have you tried? > 4. Is there a way to get paramter value for a GET request from external > file? We need to construct a url request that looks like: > > http://www.example.com/test/authenticate?username=VALUE1&password=VALUE2&countryid=VALUE3 > where VALUE1, VALUE2, and VALUE3 need to be imported from external file. > http://curl-loader.svn.sourceforge.net/viewvc/curl-loader/trunk/curl-loader/conf-examples/get-forms.conf and try FORM_USAGE_TYPE= RECORDS_FROM_FILE As a general note - it's a simple C-written open-source wrapper around libcurl. http://curl-loader.sourceforge.net/doc/faq.html#tag-description <http://curl-loader.svn.sourceforge.net/viewvc/curl-loader/trunk/curl-loader/conf-examples/get-forms.conf> > > > Thanks, > Yossi > > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > > -- Regards, Robert Iakobashvili, Ph.D. Home: http://www.ghotit.com Blog: http://dyslexia-blog.ghotit.com Twitter: http://twitter.com/ghotit Facebook: http://facebook.com/ghotit ...................................................................... Ghotit Dyslexia Assistive technology that understands you ...................................................................... |