Skip to content

Commit e9ac16a

Browse files
committed
Remove '/mcp' prefix from compile-and-fix endpoint in example
1 parent 69f2270 commit e9ac16a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/compile_and_fix_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-and-fix \
1+
curl -X POST http://localhost:8000/compile-and-fix \
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!\" // Missing closing parenthesis\n}",

0 commit comments

Comments
 (0)