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.
查找差异