1

In the new v2.2 API there are /render endpoints, such as /questions/{id}/answers/render. What are these for? Testing applications without actually posting anything?

1

You can use these endpoints to provide a user with preview functionality, since you can get back the submitted content as Stack Exchange would render it without the user having to actually create something in the system.

I assume this is the primary use case.

  • Wouldn't it just be simpler to render the markdown locally? – Jonathan. Feb 14 '14 at 17:27
  • Not necessarily, the SE Markdown engine has various modifications/extensions that might make delegating the rendering the more reliable solution. – Tim Stone Feb 14 '14 at 18:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .