Solved

Rest API Create Protection Domains

  • 25 September 2014
  • 1 reply
  • 1522 views

Badge +5
I am trying to create a Protection Domain, but can't figure out how to supply the name of the Protection Domain.

I have to use a string and a JSON object as body parameter, but it keeps throwing errors.

JSON objects I have tried:

{"name":"MyTestName"}
{"body":"MyTestName"}
{"input":"MyTestName"}

icon

Best answer by koen 25 September 2014, 12:35

I used Chrome Developer Tools to monitor the post request from the Prism GUI and the correct JSON object field name is "value" --> {"value":"MyTestName"}
View original

1 reply

Badge +5
I used Chrome Developer Tools to monitor the post request from the Prism GUI and the correct JSON object field name is "value" --> {"value":"MyTestName"}

Reply