数字进制转换器

[an error occurred while processing the directive]

curl -X POST https://mate.tools/api/v1/number-base.php \

-H "Content-Type: application/json" \

-d '{"value":"ff","from_base":16,"to_bases":[2,10,16,"roman"]}' import urllib.request, json

req = urllib.request.Request(

"https://mate.tools/api/v1/number-base.php",

data=json.dumps({"value":"ff","from_base":16,"to_bases":[2,10,16,"roman"]}).encode(),

headers={"Content-Type": "application/json"},

)

with urllib.request.urlopen(req) as r:

print(json.load(r)) const r = await fetch("https://mate.tools/api/v1/number-base.php", {

method: "POST",

headers: { "Content-Type": "application/json" },

body: JSON.stringify({"value":"ff","from_base":16,"to_bases":[2,10,16,"roman"]}),

});

console.log(await r.json()); 添加到 claude_desktop_config.json(Claude Desktop)、~/.cursor/mcp.json(Cursor)或任何其他MCP兼容客户端:

{

"mcpServers": {

"mate-tools": {

"command": "npx",

"args": ["-y", "@mate-tools/mcp-server"]

}

}

}

[an error occurred while processing the directive]
Copyright © 2088 1990年世界杯_世界杯球赛 - xqgjmy.com All Rights Reserved.
友情链接