[ 
http://opencast.jira.com/browse/MH-8089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27892#comment-27892
 ] 

Tobias Wunden commented on MH-8089:
-----------------------------------

This is the code that posts the data:


HttpPost post = new HttpPost(uri);
List<BasicNameValuePair> params = new ArrayList<BasicNameValuePair>();
params.add(new BasicNameValuePair("form_id", "webform_client_form_1834"));
params.add(new BasicNameValuePair("submitted[data]", getRuntimeInfo(hostUrl)));
UrlEncodedFormEntity entity = new UrlEncodedFormEntity(params);
post.setEntity(entity);
HttpResponse response = httpClient.execute(post);

As you can see from the code, you'll receive in a POST request the two fields 
"form_id" and "submitted[data]", where the encoding for the form data is url 
encoding.
                
> URL for Project Feedback Services needs to be updated
> -----------------------------------------------------
>
>                 Key: MH-8089
>                 URL: http://opencast.jira.com/browse/MH-8089
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Administrative Tools
>    Affects Versions: 1.2
>            Reporter: Michelle Ziegmann
>            Assignee: Tobias Wunden
>            Priority: Critical
>             Fix For: 1.2, 1.3
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://opencast.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to