API.service1</a></span> <span>&#45;&gt;</span> <span class="type-var">'arg</span> <span>&#45;&gt;</span> <span>(<span><span>(<span class="type-var">'output</span>, <span class="type-var">'error</span>)</span> Stdlib.result</span> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-get2"><a href="#val-get2" class="anchor"></a><code><span class="keyword">val</span> get2 : <span>?&#8288;post:bool</span> <span>&#45;&gt;</span> <span>?&#8288;headers:<span><s