I am attempting to use the REST API to programatically retrieve JSON replies to posts. The post titles are predictable, so I am making calls like:
However, this 302 redirects to “http://servername/t/post-title-foo/:id” (where :id is the unique ID of the post, which I don’t know how to predict).
Here’s a repro (note that it 302 redirects to a non-JSON URL):
I think this is a bug, since I would expect the redirect to preserve format (if my original request URL had .json on the end, I think it should redirect to a .json URL). Should I open a bug on GitHub issues?