HI Jean-Luc I0ìve obnly used CURLSMBS one time but for ftp purposes,
<http://www.bitbazar.com/> > Il giorno 06/mag/2015, alle ore 11:41, Jean-Luc Arnaud > <[email protected]> ha scritto: > > Thanks for explanation, Giulio. > > Now, I need some help for coding this cUrl command with CURLSMBS plugin. > I can't even figure out how to begin! > Looking in examples, I don't find something helpful. > I think it's a POST command, but I'm totally newbie with this. yes, it seems to be a post command sop I think you should examples such as CURLS post form or CURLS post form values, in a post command ( but I imagine you know it ) the parameters are separated by &, so the string you pass after -d are the various parameters in the CURLS post form values there is an example passing parameters… dim d as UploadCURL UploadCURL is a subclass of CURLSMBS it have a list of options, I.E I think the property d.OptionVerbose = True is linked to the -s curl option…. then you set all the form inputs using d.FormAdd(CURLFORM_COPYNAME,"firma", CURLFORM_COPYCONTENTS, "Test, Inc.”) in your case you should substitute them with the parameters such as USER,PWD,SIGNATURE, etc. then you finish the form d.FormFinish then you send the request e=d.Perform then you should handle what returns from the web pagem, and str(e) should contain the returning data sorry for the confused answer but again, never used CURLSMBS this way… Giulio > > TIA for any help. > > Jean-Luc Arnaud > > Le 06/05/2015 11:23, Giulio Mastrosanti a écrit : >> Hi Jean-Luc, >> >> a quick curl —help at the terminal says: >> >> -s, --silent Silent mode. Don't output anything >> >> -k, --insecure Allow connections to SSL sites without certs (H) >> >> -d, --data DATA HTTP POST data (H) >> >> so it seems that USER, PWD and SIGNATURE and the rest are the string DATA >> that follows -d, the parameters for the remote page >> >> hope this helps >> >> >> Giulio >> >> <http://www.bitbazar.com/> >>> Il giorno 06/mag/2015, alle ore 10:52, Jean-Luc Arnaud >>> <[email protected]> ha scritto: >>> >>> Hi all, >>> >>> Could someone help me code for this cUrl command? >>> >>> curl -s --insecure https://api-3t.sandbox.paypal.com/nvp -d >>> "USER=platfo_1255077030_biz_api1.gmail.com&PWD=1255077037&SIGNATURE=Abg0gYcQyxQvnf2HDJkKtA-p6pqhA1k-KTYE0Gcy1diujFio4io5Vqjf&METHOD=SetExpressCheckout&VERSION=78&PAYMENTREQUEST_0_PAYMENTACTION=SALE&PAYMENTREQUEST_0_AMT=19&PAYMENTREQUEST_0_CURRENCYCODE=USD&cancelUrl=http://www.example.com/cancel.html&returnUrl=http://www.example.com/success.html" >>> >>> I don't know what are -s --insecure and -d parameters intended for. >>> USER, PWD and SIGNATURE are only example values. >>> >>> TIA >>> >>> -- >>> Jean-Luc Arnaud >>> >>> >>> _______________________________________________ >>> Mbsplugins_monkeybreadsoftware.info mailing list >>> [email protected] >>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info >> _______________________________________________ >> Mbsplugins_monkeybreadsoftware.info mailing list >> [email protected] >> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info > > > _______________________________________________ > Mbsplugins_monkeybreadsoftware.info mailing list > [email protected] > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
