I've been trying to use the Connections API to create a page for an existing Wiki and I could use some help.
I'm using cURL to manage the http processing. Here's the command I'm using.
> curl POST "
http://192.168.101.1/wikis/basic/api/wiki/MyWiki/feed" -v -u e53922 --data "@pageentry.xml" --header "Content-Type: application/atom+xml"
Here's the contents of pageentry.xml:
<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://www.w3.org/2005/Atom">
<td:label xmlns:td="urn:ibm.com/td">NewPage2</td:label>
<category term="page" scheme="tag:ibm.com,2006:td/type" label="page"/>
<title type="text">NewPage2</title>
<td:visibility xmlns:td="urn:ibm.com/td">public</td:visibility>
<summary type="text">Summary</summary>
<content>THIS IS THE CONTENT OF THE WIKI PAGE</content>
</entry>
After I run the command, it works. I can now see a new page named NewPage2.
But the content is blank.
Anyone know what I'm doing wrong?