20 lines
910 B
JSON
20 lines
910 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(npm run *)",
|
|
"Bash(npm install *)",
|
|
"mcp__ide__getDiagnostics",
|
|
"Bash(node --check src/posts.js)",
|
|
"Bash(node --check src/server.js)",
|
|
"Bash(npm start *)",
|
|
"Bash(set -e)",
|
|
"Bash(curl -s localhost:3000/healthz)",
|
|
"Bash(curl -s -X POST localhost:3000/api/posts -H 'Content-Type: application/json' -d '{\"title\":\"첫 번째 글\",\"author\":\"홍길동\",\"content\":\"안녕하세요\\\\n게시판 테스트입니다.\"}')",
|
|
"Bash(curl -s -X POST localhost:3000/api/posts -H 'Content-Type: application/json' -d '{\"title\":\"두 번째 글\",\"content\":\"작성자 없는 글\"}')",
|
|
"Bash(curl -s localhost:3000/api/posts)",
|
|
"Bash(curl -s -o /dev/null -w \"status=%{http_code} type=%{content_type}\\\\n\" localhost:3000/)",
|
|
"Bash(curl -s -X DELETE localhost:3000/api/posts/3)"
|
|
]
|
|
}
|
|
}
|