Question

3
Replies
1834
Views
Kite_Wu Member since 2016 10 posts
Accenture
Posted: 2 years ago
Last activity: 2 years ago
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 Data Integration
Moderation Team has archived post
Share this page LinkedIn