I'm authenticating fine, but get a 404 error when I try this url in RESTClient. It appears to be what I need to do from the docs, but
I think I'm sending in the right URI based on this documentation page:
Not sure how to show in this post how the list URL is encoded. It looks like it was re-coded so-to-speak by the board, but it's encoded the way the documentation says to encode it.
Figured it out. I was missing the /activities at the end of the base URL... You get googly eyed trying to figure out your url's after a while...
Still doesn't work. I'm not getting the response the docs say. Instead it looks like this:
<?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <id>http://api.constantcontact.com/ws/customers/username/activities</id> <title type="text">Activities for customer: username</title> <link href="activities"></link> <link href="activities" rel="self"></link> <author> <name>username</name> </author> <updated>2011-10-17T20:26:04.589Z</updated> <link href="/ws/customers/username/activities" rel="first"></link> </feed>
You could be trying to supply a LIST id that does not exist.
I just did a post to:
From doing this POST i supplied my content-type to
which resulted in a HTTP/1.1 201 Created
If you are getting a 404 you must be referencing a URL that does not exist. PM the exact URI that you are using to get the 404.
Thank you for the response. By the third message I was getting a response, but the XML isn't what I was expecting. The documentation says I should see this:
<entry xmlns="http://www.w3.org/2005/Atom"> <link href="/ws/customers/joesflowers/activities/a07e1ffaxjyffmvqgiz" rel="edit" /> <id>http://api.constantcontact.com/ws/customers/joesflowers/activities/a07e1ffaxjyffmvqgiz</id> <title type="text"></title> <updated>2008-04-29T19:35:54.923Z</updated></entry>
But right now I receive the XML copied into my third post, and the list isn't cleared. I do supply the content type of "application/x-www-form-urlencoded" in the Delphi application that makes the call, but I don't see a way to do that in RESTClient which I've been using to test the links. In any case, both the Delphi app and the RESTClient return the same XML.
If you can use our RESTclient and send an RCQ file to our firstname.lastname@example.org email address I would like to dig into this for you.
Done. It came from me (Ron Grove), though. Kurt Beeken is the one who opened the account, but I'm the developer working on the project.