Difference between revisions of "Post to External Server"

From SmartWiki
Jump to: navigation, search
(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…')
 
Line 1: Line 1:
 
 
Step 1.
 
Step 1.
 
   
 
   
Line 24: Line 23:
 
</pre>
 
</pre>
 
   
 
   
+
This is constant and should not be changed:
<form method="POST" action="/ex/ex_post.jsp"> = This is constant, don't change this
+
'''&lt;form method="POST" action="/ex/ex_post.jsp">'''
 +
 
 
   
 
   
 
   
 
   

Revision as of 16:28, 21 October 2010

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>

This is constant and should not be changed: <form method="POST" action="/ex/ex_post.jsp">


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.