[
http://opencast.jira.com/browse/MH-8089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27892#comment-27892
]
Tobias Wunden edited comment on MH-8089 at 9/3/11 9:11 AM:
-----------------------------------------------------------
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.
The data is posted to what is configured in config.properties. The default
value (and this will usually not be changed) is
"http://www.opencastproject.org/form/tracking"
was (Author: twunden):
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]
_______________________________________________