We are trying to do a POC on automated deployments and health check for VS using REST APIs. We have tried to invoke the REST APIs in the below page to deploy .mar files but getting 401, Unauthorized. Do we have any REST API for login action before we invoke other API calls ( to deploy or redeploy), as I am using a server which is having a login.
The API used to deploy VSE: http://[host]:[port]/api/Dcm/VSEs//actions/deployMar
Response recieved after invoking the API.
"message": "No message available",
REST API List: SAP Portal Services