RE: [WebDNA] Send URL Get without waiting for response

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111459
interpreted = N
texte = --_000_3F494A26C768564EA5A0B49EB9E126FB54389E47XMB4xdsumailuta_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I prefer curl for situations like this. [Text]Result=3D[Shell]/usr/bin/curl --data "id=3DXXXX&pw=3DXXXX&dnr=3D%2B65= 93365219&snr=3DNTUC&msg=3DThis+is+a+test" http://192.123.000.000/sms.php[/S= hell][/text] Marc -- *********************************** Marc Thompson Software Design Engineer III UIT - University Support Services University of Utah 801.585.9264 marc.thompson@utah.edu *********************************** ________________________________ From: Terry Nair [terrynair@prism4u.com] Sent: Thursday, July 17, 2014 4:46 AM To: talk@webdna.us Subject: [WebDNA] Send URL Get without waiting for response Hi all, Could anyone please give me a heads up on how to do this =85.. Send a http url request with string value pair to an API landing page witho= ut requiring or displaying a response from the API. Basically, a user compl= etes 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 o= ut to the API which is a SMS gateway provider that sends the OTP to the use= r=92s mobile phone. The url to the API looks like this =85. http://192.123.000.000/sms.php?id=3DXXXX&pw=3DXXXX&dnr=3D%2B6593365219&snr= =3DNTUC&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 puttin= g the TCPConnect tag inside a SPAWN tag so that I do not see the response o= r have to wait for it. Never worked on TCPConnect tags before so any help c= rafting 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. Ho= pe I am making sense here and thanks for the assistance rendered guys n gal= s. Cheers Terry Nair --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe,= E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporti= ng: support@webdna.us --_000_3F494A26C768564EA5A0B49EB9E126FB54389E47XMB4xdsumailuta_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
I prefer curl for situations like this.
[Text]Result=3D[Shell]/usr/bin/curl --data "id=3DXXXX&pw=3DXXXX&am= p;dnr=3D%2B6593365219&snr=3DNTUC&msg=3DThis+is+a+test&q= uot; http://192.123.000.000/sms.php[/Shell][/text]

Marc
-- 
***********************************
Marc Thompson
Software Design Engineer III
UIT - University Support Services
University of Utah
801.585.9264
marc.thompson@utah.edu
***********************************

From: Terry Nair [terrynair@prism4u.com]<= br> Sent: Thursday, July 17, 2014 4:46 AM
To: talk@webdna.us
Subject: [WebDNA] Send URL Get without waiting for response

Hi all,

 

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

 

Send a http url request with string value= pair to an API landing page without requiring or displaying a response fro= m the API. Basically, a user completes a registration form (WebDNA) and when submitting, gets to our response page (WebDNA) which dis= plays 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=92s mobile phone.

 

The url to the API looks like this =85.

 

http://192.123.000.000/sms.php?id=3DXXXX&am= p;pw=3DXXXX&dnr=3D%2B6593365219&snr=3DNTUC&msg=3DThis+is= 3;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. Neve= r worked on TCPConnect tags before so any help crafting what the code shoul= d be for the above would be most appreciated.

 

If I am way off base with the approach, p= lease 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

 

--------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe,= E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporti= ng: support@webdna.us
--_000_3F494A26C768564EA5A0B49EB9E126FB54389E47XMB4xdsumailuta_-- 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)
--_000_3F494A26C768564EA5A0B49EB9E126FB54389E47XMB4xdsumailuta_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I prefer curl for situations like this. [text]Result=3D[shell]/usr/bin/curl --data "id=3DXXXX&pw=3DXXXX&dnr=3D%2B65= 93365219&snr=3DNTUC&msg=3DThis+is+a+test" http://192.123.000.000/sms.php[/S= hell][/text] Marc -- *********************************** Marc Thompson Software Design Engineer III UIT - University Support Services University of Utah 801.585.9264 marc.thompson@utah.edu *********************************** ________________________________ From: Terry Nair [terrynair@prism4u.com] Sent: Thursday, July 17, 2014 4:46 AM To: talk@webdna.us Subject: [WebDNA] Send URL Get without waiting for response Hi all, Could anyone please give me a heads up on how to do this =85.. Send a http url request with string value pair to an API landing page witho= ut requiring or displaying a response from the API. Basically, a user compl= etes 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 o= ut to the API which is a SMS gateway provider that sends the OTP to the use= r=92s mobile phone. The url to the API looks like this =85. http://192.123.000.000/sms.php?id=3DXXXX&pw=3DXXXX&dnr=3D%2B6593365219&snr= =3DNTUC&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 puttin= g the TCPConnect tag inside a SPAWN tag so that I do not see the response o= r have to wait for it. Never worked on TCPConnect tags before so any help c= rafting 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. Ho= pe I am making sense here and thanks for the assistance rendered guys n gal= s. Cheers Terry Nair --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe,= E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporti= ng: support@webdna.us --_000_3F494A26C768564EA5A0B49EB9E126FB54389E47XMB4xdsumailuta_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
I prefer curl for situations like this.
[text]Result=3D[shell]/usr/bin/curl --data "id=3DXXXX&pw=3DXXXX&am= p;dnr=3D%2B6593365219&snr=3DNTUC&msg=3DThis+is+a+test&q= uot; http://192.123.000.000/sms.php[/Shell][/text]

Marc
-- 
***********************************
Marc Thompson
Software Design Engineer III
UIT - University Support Services
University of Utah
801.585.9264
marc.thompson@utah.edu
***********************************

From: Terry Nair [terrynair@prism4u.com]<= br> Sent: Thursday, July 17, 2014 4:46 AM
To: talk@webdna.us
Subject: [WebDNA] Send URL Get without waiting for response

Hi all,

 

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

 

Send a http url request with string value= pair to an API landing page without requiring or displaying a response fro= m the API. Basically, a user completes a registration form (WebDNA) and when submitting, gets to our response page (WebDNA) which dis= plays 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=92s mobile phone.

 

The url to the API looks like this =85.

 

http://192.123.000.000/sms.php?id=3DXXXX&am= p;pw=3DXXXX&dnr=3D%2B6593365219&snr=3DNTUC&msg=3DThis+is= 3;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. Neve= r worked on TCPConnect tags before so any help crafting what the code shoul= d be for the above would be most appreciated.

 

If I am way off base with the approach, p= lease 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

 

--------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe,= E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporti= ng: support@webdna.us
--_000_3F494A26C768564EA5A0B49EB9E126FB54389E47XMB4xdsumailuta_-- Marc Thompson

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:

Re[2]: Weird [blank] interpretation (1999) [searchString] (1997) Summ=T Problem (1997) Re:[ShowIf] and empty fields (1997) RE: Error: template (1997) Cancel Subscription (1996) Web Delivery Page concept (1997) WCS Newbie question (1997) Not really WebCat- (1997) [WebDNA] XML Help please (2009) Webstar 4.2 Stops Serving (2000) Webcat no longer supported? (2006) Weird Errors (2007) Hello??? (1997) Re:Virtual hosting and webcatNT (1997) Sorting Problems (2004) Emailer and encryption (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) setting line item numbers (1998) listfiles sort by moddate (2002)