Goodreads Developers discussion
questions
>
group.show gets Response status: 301 message: Moved Permanently
date
newest »


if make that request like this:
GET /group/show/742-christian-fiction-devourers?format=xml&key=Ohxq73wv2HzSqIYz5kviNA HTTP/1.0
i get redirected because there's no Host header specified. if i add one the request succeeds:
GET /group/show/742-christian-fiction-devourers?format=xml&key=Ohxq73wv2HzSqIYz5kviNA HTTP/1.0
Host: www.goodreads.com
this also works if i make this request (with or without the Host: header):
GET http://www.goodreads.com/group/show/7... HTTP/1.0
so i think all you need to do is look at your http library and see how to specify this header.
API request:
https://www.goodreads.com/group/show?...
Error Received:
AbstractHttpConnection.get(): Error connecting to server: Response status: 301 message: Moved Permanently