created a simple script, modifying the script under the application and it goes to the unsuccessful branch
attaching the script, also tried this REST client plugin under firefox browser, i see this error, tried with both the content type :application/xml and application/json
Solved! Go to Solution.
You can put or get data in a JSON or XML format. If its JSON that will be curly brackets and escaped double quotes. You are definitely XML so your content type must be application/xml
I always use the loop back IP address 127.0.0.1 instead of the server IP address. It always works then in a HA setup.
Using the Rest Call make a GET to "http://127.0.01/adminapi/application" and that will return you details about all your applications.
Cut out the response for your TomTest2 application starting with <application> and ending </application> and just try to Put it back unmodified. That should work and will give you a starting point.