Post to External Server

From SmartWiki
Revision as of 10:21, 19 September 2010 by Cameron (talk | contribs) (Created page with ' Step 1. On Web Page View field enter the following fields: <pre> <html> <body> <form method="POST" action="/ex/ex_post.jsp"> <input type=hidden name="post_url" value="ht…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Step 1.

On Web Page View field enter the following fields:

<html>
<body>
 
<form method="POST" action="/ex/ex_post.jsp">
<input type=hidden name="post_url" value="http://www.otherserver.com/serverhandler.php">
<input type=hidden name="codedid" value="@codedid@">
<input type=hidden name="update_fieldid" value="nnnnnn">
 
<input type=hidden name="ss_claimant" value="@claimant@">
<input type=hidden name="ss_language" value="@language@">
<input type=hidden name="ss_address" value="@address@">
<input type=hidden name="ss_constant" value="1234">
<input type=submit value="submit">
</form>
 

</body>
</html>


<form method="POST" action="/ex/ex_post.jsp"> = This is constant, don't change this


post_url = mandatory, server url of data will be posted codedid = mandatory, @codedid@ will be replaced with encoded objectid update_fieldid = optional, customfield id of external server response will be stored


ss_xxxxxx = variable will be passed to external server. * First 3 characters of variable name will be chopped before sending to external server. For example, "ss_claimant" will be changed to claimant when sending to external server.