2

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 Answer 1

2

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.

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

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.