https://[######]nsxtmgr1.iaas.opssq/policy/api/v1/infra/capacity/threshold
{
"httpStatus" : "BAD_REQUEST",
"error_code" : 220,
"module_name" : "common-services",
"error_message" : "Unexpected character ('/' (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature 'ALLOW_COMMENTS' not enabled for parser)"
root@[######]nsxtmgrla:/#
NSX 4.x
Improper formatting of the JSON payload or incorrect usage of inline JSON passed as body can lead to API errors.
Using curl to run API calls, we need to pass below arguments: