POST Method

Hi Experts!

I need a little bit help from you. Actually I have from which has three field, From, To and TextMsg. These three fields contains string values. Now I have a button and on its click event i need to Post this data to different site

What I have done is I have created a form tag on my lotus form element and put all these field as Lotus field

To :

From :

Messsage :

Send Button

now on click event of send button i need to pass url dynamically

like “Http://yahoo.com/…” using post method.

How could i do this. What ever i have done right now after clicking button it says “From Processed”

Please Help me

I will be very thankful to you for your kind response.

With Regards,

Vikas

Subject: POST Method

It’s not clear to me, where you want to pass anything to and where you get the string from.

Posting a form will posting all input names and values of the form to the destination given in its action (which should be some program, that can extract data from the Request_Content field).

Subject: RE: POST Method

Thanks Expert,

Now this is my normal html file no any lotus code or element is used. if i open this file on to IE it will display me inputbox which contains the xml code what you will see below.

I when I click its submit button its browser url change to “http://api.myvaluefirst.com/psms/servlet/psms.Eservice2

and post the entire textArea content which is not visible to user.

Actually this xml file hold some APIs which send SMS to users mobile.

ValueFirst Pace Client API version 1.2 <?xml version="1.0" encoding="ISO-8859-1"?>

Now the same code I would like to use to my Lotus Applicatoin. Vendor told me to send me this xml content as a post method.

So I am not aware how to post the content of the textArea in Lotus Domino. I used same code to my Lotus Form Element but when i click on to send button it display “Form Processed” and url change to “http://serverName/dbName.nsf/sms?OpenForm&Seq=1

where as If i use normal HTML form its url change what i told you earlier and sms sending process is working fine.

I think above will explore you more what i need. Basically I need to make a post request and hit the url in the background so that it is not visible to end-user.

Please help me. I will be very thankful to you for your kind response.

With Regards,

Vikas K Sinha

Subject: RE: POST Method

Works for me immediately. Of course, I’m not authorized to use that service, but at least it is called like it should.

What’s in your Domino Send button? I hope it is NOT @Command([FileSend]); @Command([CloseWindow])!

Don’t close the form tag in pass-through HTML, unless you want to start another form underneath. Domino will still generate it’s closing form tag and that will be used to close your pass-through form.