Make sure you are placing the url inside quote (
""), otherwise it will break at
Make sure you are using an user-agent so that curl doesn't send default
So here it is something like below:
curl -A "Opera" "http://<ip addresss>:8983/solr/master/update?stream.body=%3Cdelete%3E%3Cquery%3Eitem_id:58987825%3C/query%3E%3C/delete%3E&commit=true"