Powershell alternative command for curl

Hi,

I need the alternative for below command in windows power shell or .bat.

curl --insecure -u user:password -X POST "https://hostname:443/_reindex?pretty" -H 'Content-Type: application/json' -d'
{
"source": {
"index": "details"
},
"dest": {
"index": "details_copy"
}
}
'

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.