添加 'linux基础/curl推送带参数的json.md'
This commit is contained in:
parent
894c7d6d25
commit
b85592ce1e
1 changed files with 6 additions and 0 deletions
6
linux基础/curl推送带参数的json.md
Normal file
6
linux基础/curl推送带参数的json.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
```shell
|
||||||
|
AppCode="llm"
|
||||||
|
image="test"
|
||||||
|
|
||||||
|
curl -X POST -H "Content-Type: application/json" -d '{"resourceName": "'"$AppCode"'", "resourceType": "deployment", "namespace": "llm-prod", "Image": "'"$image"'"}'
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue