On Windows, call a powershell script that wraps a call to System.Net.WebClient.
On Jan 25, 2018 1:23 PM, Greg Iverson <[email protected]> wrote: Hi Dan! We are running jBASE on Windows :( On Thursday, January 25, 2018 at 1:00:54 PM UTC-6, DanE wrote: Very simple in Linux and therefore in jBASE on Linux, just use curl and capture the results. [jBASE]<http://www.jbase.com/> Dan Ell jBASE Technical Engineer 949-383-2429 | 866‑582‑8447 [email protected] | www.jbase.com<http://www.jbase.com/> 9245 Research Drive , Irvine , 92618 [Zumasys]<http://www.zumasys.com/> From: [email protected] [mailto:[email protected]] On Behalf Of Greg Iverson Sent: Thursday, January 25, 2018 1:53 PM To: jBASE <[email protected]> Subject: JBASE equivalent to using sockets in D3? Hi all! We are converting from D3 to jBASE and I've run into a dilemma... I have a nifty set of D3 programs that utilize C libraries to open up sockets from Pick to the internet so we can do address verification with the USPS. I send a mailing address and they send it back standardized, or tell me it's bad. In a nutshell, the FlashBasic program starts out with a CFUNCTION SOCKET.BUILTIN command The socket is then opened with a %SOCKET, followed by %SEND which sends something like "GET http://production.shippingapis.com/ShippingAPI.dll?API=Verify&XML=<AddressValidateRequest%20USERID="503XXXX1094">....<blah<http://production.shippingapis.com/ShippingAPI.dll?API=Verify&XML=%3cAddressValidateRequest%20USERID=%22503XXXX1094%22%3e....%3cblah>>" Results are received via a %RECV call The socket is then closed via %CLOSESOCKET Any hope of this being moved to jBASE? I didn't write any of the C code/libraries...someone at D3 (TigerLogic or whomever they are now) supplied it to me. I'd hate to lose this functionality, but I don't program in C, so I'm at the mercy of any pre-existing routines to do this sort of thing... Thanks everyone! -Greg -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
