Thank you so much!!! Setting the header accept was what was needed.
That wasn't it. I have commented that line out completely, and I get the same error. (415 Unsupported Media type).
I also changed it from json to application/json (as indicated in the headers retrieved from the server) - Still the same error.
I added an output of the headers:
SRG>D GET^KCSAPIHTTP/1.1 415 Unsupported Media TypeCONNECTION: CloseCONTENT-LENGTH: 106CONTENT-SECURITY-POLICY: sandbox;CONTENT-TYPE: application/jsonDATE: Wed, 07 Jul 2021 15:38:26 GMTMS2-ERROR: MockRequestErrorSERVER: nginxSTRICT-TRANSPORT-SECURITY: max-age=31536000; includeSubDomainsX-CONTENT-SECURITY-POLICY: sandbox;X-ENVOY-DECORATOR-OPERATION: service.mocking.svc.cluster.local:80/*X-ENVOY-UPSTREAM-SERVICE-TIME: 9X-REQUEST-ID: 7deac252-b38a-430e-9931-e77a8b87bef2
Error has occurred <COMMAND> in SRG at 11:38 AM Jul 07 2021(now saving error/stack information)
Any documentation I can find containing this 'error' refers to making POSTs. I'm doing a GET, so I'm completely baffled....
Log in or create a new account to continue