这是我的卷曲要求。
curl -X POST --header 'Content-Type: application/x-www-form-urlencoded'
--header 'Accept: application/json' --header 'apikey: xxxx' -d
'name=abcd&email=test@test.com.com&id=abc'
'https://api.gupshup.io/appsdk/api/components/adduser'
Run Code Online (Sandbox Code Playgroud)
谁能帮我,如何使用Java Servlet发送它?
如何在C ++中发出HTTP Json请求?有图书馆吗?在“ HTTP Json请求”下,我的意思是使用Json对象作为数据进行POST,并以Json接收结果。