Docs/linux基础/curl推送带参数的json.md

6 lines
No EOL
205 B
Markdown

```shell
AppCode="llm"
image="test"
curl -X POST -H "Content-Type: application/json" -d '{"resourceName": "'"$AppCode"'", "resourceType": "deployment", "namespace": "llm-prod", "Image": "'"$image"'"}'
```