Skip to main content

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


Forum|alt.badge.img+3

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®

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings