The response value of Virtual Machine Backup API is not in the right JSON format.

  • 14 March 2024
  • 0 replies
  • 10 views

Badge +2

Hello, 

I'm trying to use the API for virtual machine backup. When I run the Go Lang API sample, the API call works, but the JSON response appears to be not in correct format, as shown in the example below.

}7101"d":2706,"jobIds":[

I tried changing the "Accept" and "Content-Type" headers to XML to see if I could receive the response in XML, but this does not work for this API, despite working for a few other APIs.

However, when I do this API call using POSTMAN, I get a JSON response in format.

{
"taskId": 2655,
"jobIds": [
"7045"
]
}



What seems to be the issue here? I need to make the call using Go Lang.

API : Backup virtual machines | Commvault®


0 replies

Be the first to reply!

Reply