Troubleshooting
Problem
Plain text responses from the Netcool/Impact REST API is returning responses with the wrong content type header.
Instead of returning the "plain/text" content type, the header value is set to "application/atom+xml".
For further information about the REST API, refer to the Accessing policies remotely using the REST API topic.
Symptom
The following request will execute a Netcool/Impact policy:
curl -k -u impactadmin:password https://impacthost:9081/restui/policyui/policy/TestPolicy1/run -v
The endpoint replies with a plain text response but the Content-Type header is incorrectly set to "application/atom+xml":
< HTTP/1.1 200 OK
< X-Content-Type-Options: nosniff
< Content-Type: application/atom+xml
< Content-Language: en-US
< Content-Length: 37
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSSHYH","label":"Tivoli Netcool\/Impact"},"ARM Category":[{"code":"a8m500000008ZtnAAE","label":"Impact-\u003EImpact Server"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.0"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
09 May 2025
UID
ibm17085989