[WebDNA] Send URL Get without waiting for response

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111458
interpreted = N
texte = This is a multi-part message in MIME format. ------=_NextPart_000_0233_01CFA1EF.756B3690 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, Could anyone please give me a heads up on how to do this ... Send a http url request with string value pair to an API landing page without requiring or displaying a response from the API. Basically, a user completes a registration form (WebDNA) and when submitting, gets to our response page (WebDNA) which displays an entry box for the user to enter a One-Time-Password (OTP). On this very same response page, a separate call is made out to the API which is a SMS gateway provider that sends the OTP to the user's mobile phone. The url to the API looks like this .. http://192.123.000.000/sms.php?id=XXXX &pw=XXXX&dnr=%2B6593365219&snr=NTUC&msg=This+is+a+test As you can see, the parameters are id, pw, dnr, snr and msg. I believe that I should be using TCPConnect and TCPSend. Also, I think I should be putting the TCPConnect tag inside a SPAWN tag so that I do not see the response or have to wait for it. Never worked on TCPConnect tags before so any help crafting what the code should be for the above would be most appreciated. If I am way off base with the approach, please do let me know if there is a much simpler way to this before I start experimenting with my approach. Hope I am making sense here and thanks for the assistance rendered guys n gals. Cheers Terry Nair ------=_NextPart_000_0233_01CFA1EF.756B3690 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi = all,

 

Could anyone = please give me a heads up on how to do this = …..

 

Send a http = url request with string value pair to an API landing page without = requiring or displaying a response from the API. Basically, a user = completes a registration form (WebDNA) and when submitting, gets to our = response page (WebDNA) which displays an entry box for the user to enter = a One-Time-Password (OTP). On this very same response page, a separate = call is made out to the API which is a SMS gateway provider that sends = the OTP to the user’s mobile phone.

 

The url to = the API looks like this ….

 

http://192.123.000= .000/sms.php?id=3DXXXX&pw=3DXXXX&dnr=3D%2B6593365219&snr=3DNT= UC&msg=3DThis+is+a+test

 

As you can = see, the parameters are id, pw, dnr, snr and msg. I believe that I = should be using TCPConnect and TCPSend. Also, I think I should be = putting the TCPConnect tag inside a SPAWN tag so that I do not see the = response or have to wait for it. Never worked on TCPConnect tags before = so any help crafting what the code should be for the above would be most = appreciated.

 

If I am way = off base with the approach, please do let me know if there is a much = simpler way to this before I start experimenting with my approach. Hope = I am making sense here and thanks for the assistance rendered guys n = gals.

 

Cheers Terry = Nair

 

------=_NextPart_000_0233_01CFA1EF.756B3690-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Send URL Get without waiting for response (Donovan Brooke 2014)
  2. Re: [WebDNA] Send URL Get without waiting for response (Dan Strong 2014)
  3. RE: [WebDNA] Send URL Get without waiting for response (Marc Thompson 2014)
  4. RE: [WebDNA] Send URL Get without waiting for response (Marc Thompson 2014)
  5. [WebDNA] Send URL Get without waiting for response ("Terry Nair" 2014)
This is a multi-part message in MIME format. ------=_NextPart_000_0233_01CFA1EF.756B3690 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, Could anyone please give me a heads up on how to do this ... Send a http url request with string value pair to an API landing page without requiring or displaying a response from the API. Basically, a user completes a registration form (WebDNA) and when submitting, gets to our response page (WebDNA) which displays an entry box for the user to enter a One-Time-Password (OTP). On this very same response page, a separate call is made out to the API which is a SMS gateway provider that sends the OTP to the user's mobile phone. The url to the API looks like this .. http://192.123.000.000/sms.php?id=XXXX &pw=XXXX&dnr=%2B6593365219&snr=NTUC&msg=This+is+a+test As you can see, the parameters are id, pw, dnr, snr and msg. I believe that I should be using TCPConnect and TCPSend. Also, I think I should be putting the TCPConnect tag inside a SPAWN tag so that I do not see the response or have to wait for it. Never worked on TCPConnect tags before so any help crafting what the code should be for the above would be most appreciated. If I am way off base with the approach, please do let me know if there is a much simpler way to this before I start experimenting with my approach. Hope I am making sense here and thanks for the assistance rendered guys n gals. Cheers Terry Nair ------=_NextPart_000_0233_01CFA1EF.756B3690 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi = all,

 

Could anyone = please give me a heads up on how to do this = …..

 

Send a http = url request with string value pair to an API landing page without = requiring or displaying a response from the API. Basically, a user = completes a registration form (WebDNA) and when submitting, gets to our = response page (WebDNA) which displays an entry box for the user to enter = a One-Time-Password (OTP). On this very same response page, a separate = call is made out to the API which is a SMS gateway provider that sends = the OTP to the user’s mobile phone.

 

The url to = the API looks like this ….

 

http://192.123.000= .000/sms.php?id=3DXXXX&pw=3DXXXX&dnr=3D%2B6593365219&snr=3DNT= UC&msg=3DThis+is+a+test

 

As you can = see, the parameters are id, pw, dnr, snr and msg. I believe that I = should be using TCPConnect and TCPSend. Also, I think I should be = putting the TCPConnect tag inside a SPAWN tag so that I do not see the = response or have to wait for it. Never worked on TCPConnect tags before = so any help crafting what the code should be for the above would be most = appreciated.

 

If I am way = off base with the approach, please do let me know if there is a much = simpler way to this before I start experimenting with my approach. Hope = I am making sense here and thanks for the assistance rendered guys n = gals.

 

Cheers Terry = Nair

 

------=_NextPart_000_0233_01CFA1EF.756B3690-- "Terry Nair"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

More on the email templates (1997) Error: Permision deny. (2005) WebCat2.0 [format thousands .0f] no go (1997) Two stores, one server (1998) [feature req?]DeleteFounditem (2002) Secure Server (1997) Multiple Pulldowns (1997) What am I missing (1997) form data submission gets truncated (1997) Shell context. (2002) Bug or syntax error on my part? (1997) WebDNA - fun to compare (2005) Quit revisited (1997) Setting up shop (1997) Another search question please... (1998) Help name our technology! (1997) WCS Newbie question (1997) WebCatalog for Postcards ? (1997) Protect vs Authenicate (1997) Too Much Info (1998)