curl命令发送post请求

curl ‘http://localhost:8080/sse-invoke’ --data ‘{“prompt”:[{“role”:“user”,“content”:“如何修改密码?”}]}’ -H ‘Content-Type: application/json’

你可能感兴趣的:(java,linux,curl,post)