ODS.VirtuosoOdsControllersWikiEx12
Example Usage of ODS Wiki Controller for Create Topic Comment
Note: The Consumer key for a given ODS Wiki instance can be obtained following these steps.
- At http://cname/ods/oauth_test.vsp enter:
- Server: http://cname/ods/api/
- Consumer Key: 1444fd337e720f2eceb2bf759c57c1648e749110
- API method: wiki.comment.new
- API parameters: cluster=demoWiki&topic=DemoTest?&title=test&text=simple&name=john&email=john@gmail.com&url=http://yahoo.com
- Query options: Generate URI and Submit
- Log in when prompted as user demo and authorize
- As result the Response Body should be:
<result><code>1</code><message>Success</message></result>
- Create a new comment: cluster=demoWiki&topic=DemoTest?&title=test2&text=simple&name=john&email=<none>&url=http://yahoo.com
- As result the Response Body should be:
<result><code>2</code><message>Success</message></result>