Mark T. Tomczak<p>Using Jenkins deeply has reminded me that one of the pros of the original REST API intent was "You don't have to write your HTML handling logic twice." As in: if you use honest-to-God <em>forms,</em> and those forms access your app via your own REST API, you aren't writing one handler for form inputs and one for API calls (which had been the style at the time when REST hit the scene).</p><p>Nowadays, it's pretty much all JSON under the hood (i.e. barely anyone uses raw forms anymore; if you have a form on a page, it's bundling its fields into JSON and making an XmlHttpRequest), so this benefit is overlooked.</p><p><a href="https://mastodon.fixermark.com/tags/jenkins" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jenkins</span></a> <a href="https://mastodon.fixermark.com/tags/rest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rest</span></a> <a href="https://mastodon.fixermark.com/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a></p>