Question

3
Replies
2020
Views
Close popover
Wu Zhixian (Kite_Wu)
Accenture

Accenture
CN
Kite_Wu Member since 2016 11 posts
Accenture
Posted: April 16, 2018
Last activity: September 14, 2018
Closed

How to use connect-HTTP to post form and redirect

Generally,we use code as below to post form in html:

<form action="http://XXXX" method="POST">
<input type="hidden" name="name" value="value">
<input type="submit" value="submit">

And it will redirect to "http://XXXX" after submit.

In pega I want to use connect-HTTP to post data and arrive at the Endpoint URL.What must I do Besides these steps?(Now I can only get the Endpoint's response as html code text.)(Connect-HTTP Worked OK)

1.Config a connect-HTTP rule

2.Greate an activity with Connect-HTTP method

3.call this activity in a botton

【target】click button→data transmitted→pega page jumps to EndpointURL

OR,my process is unreasonable?

***Edited by Moderator Marissa to update platform capability tags****

Data Integration Java and Activities
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.