Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
I have a property with PASSWORD base type. Using the REST API the value fetched is encrypted. What is the encryption method that is used internally? Is it possible to get the original value and if yes then how to get it?
Solved! Go to Solution.
I would also suggest the last option, to retrieve it via a service with string output type.
Interesting.
It only seems to be encrypted when you request a JSON reply, with XML it's in clear text, that's a bit inconsistent.
I suggest you create a case with PTC support and post an update here how this was resolved.
Correction: When you use application/json or text/xml in your Accept header, it is encrypted. It is not encrypted when you receive HTML, e.g. by using */* in the Accept header.
As a workaround you could add a service to your thing returning the password as a STRING and call the service from the REST API.
I would also suggest the last option, to retrieve it via a service with string output type.