[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:

Been meaning to ask... (1997) Requiring that certain fields be completed (1997) Confirming a bug/oddity (2003) RE: New WebCatalog Version !!! (1997) Lastautonumber (2005) Nested search (1997) Help name our technology! (1997) Re[2]: Date Time Oddness (1999) international time (1997) WebCat2: Items xx to xx shown, etc. (1997) Faxing orders in place of email (1997) Encrypt broken on Mac 3.05b13?? (2000) b12 cannot limit records returned and more. (1997) RAM variables (1997) List archive status? (1999) [WebDNA] Downloadable file protection (2011) Searching two databases (2001) dreamweaver (2000) WebCatalog/Mac 2.1b2 - PIXO (1997) 2.0Beta Command Ref (can't find this instruction) (1997)