Yes, I understand you want to call the REST API through cURL command. What I'm trying to get clarification on is what you are trying to achieve. For example, are you trying to update a virtual service by redeploying its MAR file? If that's the case, you are using the wrong REST API call.
But a few pointers to begin with, you should use the following syntax for calling the REST API to deploy a MAR with basic auth
curl -X POST -u admin:admin "http://localhost:1505/api/Dcm/VSEs/${vseName}/actions/deployMar" -H "Content-Type: multipart/form-data" -F "file=@C:\DevTestAutomation\automation_api.mar"
The assumption is that you're trying to deploy a virtual service (MAR) to a VSE, and if this is the case then there's a prerequisite of making an initial REST API call that removes the existing virtual service from the VSE prior to making the deployment REST API call.