Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

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?

share|improve this question

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

share|improve this answer
    
Wouldn't it just be simpler to render the markdown locally? –  Jonathan. Feb 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 at 18:06

You must log in to answer this question.

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