This is my curl request.
curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' --header 'apikey: xxxx' -d 'name=abcd&[email protected]&id=abc' 'https://api.gupshup.io/appsdk/api/components/adduser' Can anybody help me, how to send it using java servlet?