Skip to content

Commit b52606b

Browse files
committed
Remove '/mcp' prefix from compile endpoint in example
1 parent e9ac16a commit b52606b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/compile_endpoint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
curl -X POST http://localhost:8000/mcp/compile \
1+
curl -X POST http://localhost:8000/compile \
22
-H "Content-Type: application/json" \
33
-d '{
44
"code": "[filename: Cargo.toml]\n[package]\nname = \"hello_world\"\nversion = \"0.1.0\"\nedition = \"2021\"\n\n[dependencies]\n\n[filename: src/main.rs]\nfn main() {\n println!(\"Hello, World!\");\n}"

0 commit comments

Comments
 (0)