I don't see the space in the quoted message but I would think you need to encode the submitted value prior to building the curl call.
Try something like &bd=First+Last or &bd=First %20Last -- Brad Perkins On 9/20/11 12:13 PM, Aparajita Fishman wrote: > >From Lisa Werdal: > > I'm using A4D 5.0r29 on a mac server (v11.9). > > > I have a script that is run as a curl... > > curl "http://10.8.10.49:8090/4dcgi/External.a4d" -d "qtype=Quote_BD&bd=First > Last" > > In the script I have > $vt_QueryName:= _form{"qtype"} > $vt_QueryValueBD:= _form{"bd"} > > A4D returns an error on _form{"bd"} I think because the value has a space. It > works when there is not a space. > > How do I get a4d to accept the space? > > - Lisa > _______________________________________________ > Active4D-dev mailing list > [email protected] > http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev > Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ > _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
