cancel
Showing results for 
Search instead for 
Did you mean: 

Server-side POST of form

alexander_gtz
Participant
0 Kudos

Hi all,

in an actual SSO project i have the requirement to send a form (with certain parameters) with POST to the server, with which I want to perform SSO, to get back a temporary password.

For security reasons the call has to be a server-side call, so my Portal server has to do the job.

I tried with cURL but I´m not really familiar with it and am not really happy to use a command line tool for a web request.

Could anyone tell me how to do a server-side POST of a form directly in JAVA Coding?

Many thanks for any idea

Regards

Alex

Accepted Solutions (0)

Answers (1)

Answers (1)

alexander_gtz
Participant
0 Kudos

solved it myself.

you can use the commons-httpclient.jar from apache.

https connection is possible, you can use Proxies to connect and you are in a very easy way able to build a form, which can be posted against a side.