Empty body in Add url response (json)

1 view
Skip to first unread message

osks

unread,
Aug 31, 2009, 12:03:25 PM8/31/09
to contextvoice-dev
Hi

On some "Add url" requests, I no longer get any message in the
response. I've only seen it when I get "202 Accepted" back, like this
for example:

Request:
------------------
POST /1.1/resources/ HTTP/1.1
User-Agent: Fiddler
Host: api.contextvoice.com
Content-Length: 148

format=json&url=http%3A%2F%2Fpoliticalticker.blogs.cnn.com
%2F2009%2F08%2F31%2Fhonore-dismisses-talk-of-senate-run
%2F&apikey=abc123
------------------

Response:
------------------
HTTP/1.1 202 Accepted
X-Lighty-Magnet-Uri-Path: /1.1/resources/
X-Mashery-Responder: proxyworker-i-a651dacf.mashery.com
Content-Type: application/json
Server: lighttpd/1.4.19
Date: Mon, 31 Aug 2009 15:58:18 GMT
Content-Length: 0


------------------

Seem to be the same with the XML format. Is this an intended change in
your API?

Dan

unread,
Sep 1, 2009, 6:01:05 AM9/1/09
to contextvoice-dev
We are looking into this but we could not reproduce the issue for the
moment.

Dan

osks

unread,
Sep 1, 2009, 6:53:16 AM9/1/09
to contextvoice-dev
Thank you. It only occurs for URLs that I get the "Accepted" response
for, so it's a bit hard to find new URLs to reproduce it with and they
probably won't last very long. Here's another one though:

Request:
----------
POST /1.1/resources/ HTTP/1.1
User-Agent: Fiddler
Host: api.contextvoice.com
Content-Length: 106

format=json&apikey=hmzc9nmpcfw6sefdtr3gj2kz&url=http%3A%2F
%2Fhub.zeppinn.net%2Fladder%2F200909%2Findex.php
----------

Response:
----------
HTTP/1.1 202 Accepted
X-Lighty-Magnet-Uri-Path: /1.1/resources/
X-Mashery-Responder: proxyworker-i-a651dacf.mashery.com
Content-Type: application/json
Server: lighttpd/1.4.19
Date: Tue, 01 Sep 2009 10:50:56 GMT
Content-Length: 0
----------

Best regards,
Oskar

osks

unread,
Sep 1, 2009, 6:59:13 AM9/1/09
to contextvoice-dev
(Forgot to remove the apikey, but I've deleted it now, so it doesn't
work anymore.)
Reply all
Reply to author
Forward
0 new messages