Re: Curl-Loader questions
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2011-02-28 05:24:17
|
Hi Yossi, On Mon, Feb 28, 2011 at 1:02 AM, 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 >> > Yossi: > The third varaible and on read null from the file. Here is my config line > followed by the request log: > FORM_STRING =email=%s&firstname=%s&lastname=%s&address=%s > > POST /api/users/create?authkey=0v9iq9tm8l4eug1k1cktnsk0u5& HTTP/1.1 > Authorization: Basic dGVzdGVyOmFwcHNkcmVhbQ== > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) > Accept: */* > Content-Length: 69 > Content-Type: ap... > > email=sh...@gm...&firstname=test&lastname=(null)&address=(null) > > 180 0 0 1 !! OK 200 > HTTP/1.1 200 OK > > external file looks like this: > # Separator used here is ',' > sh...@gm...,test,last,address > > Sounds like a good option to fix it or to add it and provide a patch to this list. Thanks. 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 ...................................................................... |