Diff
checker
文本
文本
圖像
文檔
Excel
文件夾
Legal
Enterprise
桌面版
定價
登入
下載 Diffchecker 桌面版
比較文本
尋找兩個文字檔案之間的差異
工具
歷史
即時編輯器
隱藏空白變更
摺疊未變更行
關閉換行
檢視
拆分
統一
比對精度
智能
單詞
字符
文字樣式
變更外觀
語法突出顯示
選擇語法
忽略
文字轉換
前往第一個差異
編輯輸入
Diffchecker Desktop
執行Diffchecker最安全的方式。取得Diffchecker桌面應用程式:您的差異永遠不會離開您的電腦!
取得桌面版
previously_full_fail
建立於
昨天
差異永不過期
清除
匯出
分享
解釋
8 刪除
行
總計
刪除
字符
總計
刪除
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
19 行
全部複製
82 新增
行
總計
新增
字符
總計
新增
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
92 行
全部複製
複製
已複製
複製
已複製
✘ bensandler@st-bensandler3 ~/stripe/mppx main npx tsx src/bin.ts validate
https://api.wundership.com
mppx validate https://api.wundership.com
Error: Cannot convert 5.000000 to a BigInt
✘ bensandler@st-bensandler3 ~/stripe/mppx
main
npx tsx src/bin.ts validate https://api.wundership.com --endpoint POST:/mpp/plan
Discovery (/openapi.json)
✓ Document found and parseable
✗ Valid OpenAPI structure (10 error(s))
✗ Invalid amount (paths./mpp/plan.post.x-payment-info.amount)
✗ Cannot mix offers with flat payment info fields (paths./mpp/plan.post.x-payment-info)
✗ Invalid amount (paths./mpp/builder/preview.post.x-payment-info.amount)
✗ Cannot mix offers with flat payment info fields (paths./mpp/builder/preview.post.x-payment-info)
✗ Invalid amount (paths./mpp/images/generate.post.x-payment-info.amount)
✗ Cannot mix offers with flat payment info fields (paths./mpp/images/generate.post.x-payment-info)
✗ Invalid amount (paths./mpp/listings/from-image.post.x-payment-info.amount)
✗ Cannot mix offers with flat payment info fields (paths./mpp/listings/from-image.post.x-payment-info)
✗ Invalid amount (paths./mpp/chat/completions.post.x-payment-info.amount)
✗ Cannot mix offers with flat payment info fields (paths./mpp/chat/completions.post.x-payment-info)
✓ Paid endpoints found (5 endpoint(s))
POST /mpp/plan
Challenge
✓ Returns 402 without credentials
✓ WWW-Authenticate header present (Payment scheme)
✗ Challenge parseable (Missing request parameter.)
→ The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details.
⚠ Received (realm="api.wundership.com", resource="https://api.wundership.com/mpp/plan", intent="charge", method="stripe", currency="USD", amount="1.000000", protocol="mpp")
POST /mpp/builder/preview
Challenge
✓ Returns 402 without credentials
✓ WWW-Authenticate header present (Payment scheme)
✗ Challenge parseable (Missing request parameter.)
→ The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details.
⚠ Received (realm="api.wundership.com", resource="
https://api.wundership.com
/mpp/builder/preview", intent="charge", method="stripe", currency="USD", amount="5.000000", protocol="mpp")
POST /mpp/images/generate
Challenge
✓ Returns 402 without credentials
✓ WWW-Authenticate header present (Payment scheme)
✗ Challenge parseable (Missing request parameter.)
→ The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details.
⚠ Received (realm="api.wundership.com", resource="https://api.wundership.com/mpp/images/generate", intent="charge", method="stripe", currency="USD", amount="1.000000", protocol="mpp")
POST /mpp/listings/from-image
Challenge
✓ Returns 402 without credentials
✓ WWW-Authenticate header present (Payment scheme)
✗ Challenge parseable (Missing request parameter.)
→ The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details.
⚠ Received (realm="api.wundership.com", resource="https://api.wundership.com/mpp/listings/from-image", intent="charge", method="stripe", currency="USD", amount="0.750000", protocol="mpp")
POST /mpp/chat/completions
Challenge
✓ Returns 402 without credentials
✓ WWW-Authenticate header present (Payment scheme)
✗ Challenge parseable (Missing request parameter.)
→ The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details.
⚠ Received (realm="api.wundership.com", resource="https://api.wundership.com/mpp/chat/completions", intent="charge", method="stripe", currency="USD", amount="0.500000", protocol="mpp")
Payment scheme detected but challenge format is invalid on 5 endpoint(s).
The server uses WWW-Authenticate: Payment but the challenge parameters do not conform to MPP.
Fix: encode payment details as base64url JSON in a request="..." parameter. See errors above.
✘ bensandler@st-bensandler3 ~/stripe/mppx
bensandler-validate-improvements
npx tsx src/bin.ts validate https://api.wundership.com --endpoint POST:/mpp/plan
mppx validate https://api.wundership.com
mppx validate https://api.wundership.com
Discovery (/openapi.json)
Discovery (/openapi.json)
✓ Document found and parseable
✓ Document found and parseable
✗ Valid OpenAPI structure (10 error(s))
✗ Valid OpenAPI structure (10 error(s))
複製
已複製
複製
已複製
✗ Invalid amount (paths./mpp/plan.post.x-payment-info.amount)
✗ Cannot mix offers with flat payment info fields (paths./mpp/plan.post.x-payment-info)
✗ Invalid amount (paths./mpp/builder/preview.post.x-payment-info.amount)
✗ Cannot mix offers with flat payment info fields (paths./mpp/builder/preview.post.x-payment-info)
✗ Invalid amount (paths./mpp/images/generate.post.x-payment-info.amount)
✗ Cannot mix offers with flat payment info fields (paths./mpp/images/generate.post.x-payment-info)
✗ Invalid amount (paths./mpp/listings/from-image.post.x-payment-info.amount)
✗ Cannot mix offers with flat payment info fields (paths./mpp/listings/from-image.post.x-payment-info)
✗ Invalid amount (paths./mpp/chat/completions.post.x-payment-info.amount)
✗ Cannot mix offers with flat payment info fields (paths./mpp/chat/completions.post.x-payment-info)
POST /mpp/plan
POST /mpp/plan
Challenge
Challenge
✓ Returns 402 without credentials
✓ Returns 402 without credentials
✓ WWW-Authenticate header present (Payment scheme)
✓ WWW-Authenticate header present (Payment scheme)
✗ Challenge parseable (Missing request parameter.)
✗ Challenge parseable (Missing request parameter.)
複製
已複製
複製
已複製
→ The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details.
⚠ Received (realm="api.wundership.com", resource="https://api.wundership.com/mpp/plan", intent="charge", method="stripe", currency="USD", amount="1.000000", protocol="mpp")
複製
已複製
複製
已複製
No MPP endpoints found. Tested
1 endpoint(s)
but none
use
WWW-Authenticate: Payment
.
Payment scheme detected but challenge format is invalid on
1 endpoint(s)
.
This server may use x402 or another payment protocol.
The server
use
s
WWW-Authenticate: Payment
but the challenge parameters do not conform to MPP.
Fix: encode payment details as base64url JSON in a request="..." parameter. See errors above.
已保存差異
原始文本
開啟檔案
✘ bensandler@st-bensandler3 ~/stripe/mppx main npx tsx src/bin.ts validate https://api.wundership.com Error: Cannot convert 5.000000 to a BigInt ✘ bensandler@st-bensandler3 ~/stripe/mppx main npx tsx src/bin.ts validate https://api.wundership.com --endpoint POST:/mpp/plan mppx validate https://api.wundership.com Discovery (/openapi.json) ✓ Document found and parseable ✗ Valid OpenAPI structure (10 error(s)) POST /mpp/plan Challenge ✓ Returns 402 without credentials ✓ WWW-Authenticate header present (Payment scheme) ✗ Challenge parseable (Missing request parameter.) No MPP endpoints found. Tested 1 endpoint(s) but none use WWW-Authenticate: Payment. This server may use x402 or another payment protocol.
更改後文本
開啟檔案
mppx validate https://api.wundership.com Discovery (/openapi.json) ✓ Document found and parseable ✗ Valid OpenAPI structure (10 error(s)) ✗ Invalid amount (paths./mpp/plan.post.x-payment-info.amount) ✗ Cannot mix offers with flat payment info fields (paths./mpp/plan.post.x-payment-info) ✗ Invalid amount (paths./mpp/builder/preview.post.x-payment-info.amount) ✗ Cannot mix offers with flat payment info fields (paths./mpp/builder/preview.post.x-payment-info) ✗ Invalid amount (paths./mpp/images/generate.post.x-payment-info.amount) ✗ Cannot mix offers with flat payment info fields (paths./mpp/images/generate.post.x-payment-info) ✗ Invalid amount (paths./mpp/listings/from-image.post.x-payment-info.amount) ✗ Cannot mix offers with flat payment info fields (paths./mpp/listings/from-image.post.x-payment-info) ✗ Invalid amount (paths./mpp/chat/completions.post.x-payment-info.amount) ✗ Cannot mix offers with flat payment info fields (paths./mpp/chat/completions.post.x-payment-info) ✓ Paid endpoints found (5 endpoint(s)) POST /mpp/plan Challenge ✓ Returns 402 without credentials ✓ WWW-Authenticate header present (Payment scheme) ✗ Challenge parseable (Missing request parameter.) → The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details. ⚠ Received (realm="api.wundership.com", resource="https://api.wundership.com/mpp/plan", intent="charge", method="stripe", currency="USD", amount="1.000000", protocol="mpp") POST /mpp/builder/preview Challenge ✓ Returns 402 without credentials ✓ WWW-Authenticate header present (Payment scheme) ✗ Challenge parseable (Missing request parameter.) → The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details. ⚠ Received (realm="api.wundership.com", resource="https://api.wundership.com/mpp/builder/preview", intent="charge", method="stripe", currency="USD", amount="5.000000", protocol="mpp") POST /mpp/images/generate Challenge ✓ Returns 402 without credentials ✓ WWW-Authenticate header present (Payment scheme) ✗ Challenge parseable (Missing request parameter.) → The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details. ⚠ Received (realm="api.wundership.com", resource="https://api.wundership.com/mpp/images/generate", intent="charge", method="stripe", currency="USD", amount="1.000000", protocol="mpp") POST /mpp/listings/from-image Challenge ✓ Returns 402 without credentials ✓ WWW-Authenticate header present (Payment scheme) ✗ Challenge parseable (Missing request parameter.) → The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details. ⚠ Received (realm="api.wundership.com", resource="https://api.wundership.com/mpp/listings/from-image", intent="charge", method="stripe", currency="USD", amount="0.750000", protocol="mpp") POST /mpp/chat/completions Challenge ✓ Returns 402 without credentials ✓ WWW-Authenticate header present (Payment scheme) ✗ Challenge parseable (Missing request parameter.) → The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details. ⚠ Received (realm="api.wundership.com", resource="https://api.wundership.com/mpp/chat/completions", intent="charge", method="stripe", currency="USD", amount="0.500000", protocol="mpp") Payment scheme detected but challenge format is invalid on 5 endpoint(s). The server uses WWW-Authenticate: Payment but the challenge parameters do not conform to MPP. Fix: encode payment details as base64url JSON in a request="..." parameter. See errors above. ✘ bensandler@st-bensandler3 ~/stripe/mppx bensandler-validate-improvements npx tsx src/bin.ts validate https://api.wundership.com --endpoint POST:/mpp/plan mppx validate https://api.wundership.com Discovery (/openapi.json) ✓ Document found and parseable ✗ Valid OpenAPI structure (10 error(s)) ✗ Invalid amount (paths./mpp/plan.post.x-payment-info.amount) ✗ Cannot mix offers with flat payment info fields (paths./mpp/plan.post.x-payment-info) ✗ Invalid amount (paths./mpp/builder/preview.post.x-payment-info.amount) ✗ Cannot mix offers with flat payment info fields (paths./mpp/builder/preview.post.x-payment-info) ✗ Invalid amount (paths./mpp/images/generate.post.x-payment-info.amount) ✗ Cannot mix offers with flat payment info fields (paths./mpp/images/generate.post.x-payment-info) ✗ Invalid amount (paths./mpp/listings/from-image.post.x-payment-info.amount) ✗ Cannot mix offers with flat payment info fields (paths./mpp/listings/from-image.post.x-payment-info) ✗ Invalid amount (paths./mpp/chat/completions.post.x-payment-info.amount) ✗ Cannot mix offers with flat payment info fields (paths./mpp/chat/completions.post.x-payment-info) POST /mpp/plan Challenge ✓ Returns 402 without credentials ✓ WWW-Authenticate header present (Payment scheme) ✗ Challenge parseable (Missing request parameter.) → The Payment challenge must include a request="<base64url>" parameter containing JSON-encoded payment details. ⚠ Received (realm="api.wundership.com", resource="https://api.wundership.com/mpp/plan", intent="charge", method="stripe", currency="USD", amount="1.000000", protocol="mpp") Payment scheme detected but challenge format is invalid on 1 endpoint(s). The server uses WWW-Authenticate: Payment but the challenge parameters do not conform to MPP. Fix: encode payment details as base64url JSON in a request="..." parameter. See errors above.
尋找差異