Fix BUG-085 & BUG-086: Replace api.docfast.dev with docfast.dev and remove non-existent SDK install instructions
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 11m9s

This commit is contained in:
OpenClaw Bot 2026-02-23 10:04:14 +00:00
parent 9e288ebf9d
commit 1c0c8a3e2a
2 changed files with 14 additions and 14 deletions

View file

@ -165,7 +165,7 @@ footer .container { display: flex; justify-content: space-between; align-items:
<div class="code-block">
<span class="code-label">curl</span>
<pre><code>curl -X POST https://api.docfast.dev/v1/convert/html \
<pre><code>curl -X POST https://docfast.dev/v1/convert/html \
-H <span class="str">"Authorization: Bearer YOUR_API_KEY"</span> \
-H <span class="str">"Content-Type: application/json"</span> \
-d <span class="str">'{"html": "&lt;html&gt;...your invoice HTML...&lt;/html&gt;"}'</span> \
@ -180,7 +180,7 @@ footer .container { display: flex; justify-content: space-between; align-items:
<div class="code-block">
<span class="code-label">curl</span>
<pre><code>curl -X POST https://api.docfast.dev/v1/convert/markdown \
<pre><code>curl -X POST https://docfast.dev/v1/convert/markdown \
-H <span class="str">"Authorization: Bearer YOUR_API_KEY"</span> \
-H <span class="str">"Content-Type: application/json"</span> \
-d '{
@ -219,7 +219,7 @@ footer .container { display: flex; justify-content: space-between; align-items:
<div class="code-block">
<span class="code-label">curl</span>
<pre><code>curl -X POST https://api.docfast.dev/v1/convert/html \
<pre><code>curl -X POST https://docfast.dev/v1/convert/html \
-H <span class="str">"Authorization: Bearer YOUR_API_KEY"</span> \
-H <span class="str">"Content-Type: application/json"</span> \
-d @report.json \
@ -282,7 +282,7 @@ footer .container { display: flex; justify-content: space-between; align-items:
&lt;p&gt;Generated at ${</span><span class="kw">new</span> <span class="fn">Date</span>().<span class="fn">toISOString</span>()<span class="str">}&lt;/p&gt;
`</span>;
<span class="kw">const</span> res = <span class="kw">await</span> <span class="fn">fetch</span>(<span class="str">"https://api.docfast.dev/v1/convert/html"</span>, {
<span class="kw">const</span> res = <span class="kw">await</span> <span class="fn">fetch</span>(<span class="str">"https://docfast.dev/v1/convert/html"</span>, {
method: <span class="str">"POST"</span>,
headers: {
<span class="str">"Authorization"</span>: <span class="str">`Bearer ${process.env.DOCFAST_API_KEY}`</span>,
@ -323,7 +323,7 @@ html = <span class="str">"""
"""</span>
response = requests.<span class="fn">post</span>(
<span class="str">"https://api.docfast.dev/v1/convert/html"</span>,
<span class="str">"https://docfast.dev/v1/convert/html"</span>,
headers={
<span class="str">"Authorization"</span>: <span class="str">f"Bearer {</span>os.environ[<span class="str">'DOCFAST_API_KEY'</span>]<span class="str">}"</span>,
<span class="str">"Content-Type"</span>: <span class="str">"application/json"</span>,
@ -343,7 +343,7 @@ response.<span class="fn">raise_for_status</span>()
<!-- Go -->
<section id="go" class="example-section">
<h2>Go Integration</h2>
<p>Install the official SDK: <code>go get github.com/docfast/docfast-go</code></p>
<p><strong>SDK coming soon.</strong> In the meantime, use the HTTP example below — it works with any HTTP client.</p>
<div class="code-block">
<span class="code-label">Go — Using the SDK</span>
<pre><code><span class="kw">package</span> main
@ -371,7 +371,7 @@ response.<span class="fn">raise_for_status</span>()
<!-- PHP -->
<section id="php" class="example-section">
<h2>PHP Integration</h2>
<p>Install the official SDK: <code>composer require docfast/docfast-php</code></p>
<p><strong>SDK coming soon.</strong> In the meantime, use the HTTP example below — it works with any HTTP client.</p>
<div class="code-block">
<span class="code-label">PHP — Using the SDK</span>
<pre><code><span class="kw">use</span> DocFast\Client;