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 ….
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
|
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 ….
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
DOWNLOAD WEBDNA NOW!
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...