Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Extracting plaintext content

Not applicable

I have a target "service" that lies about what is does. Specifically, it includes headers saying that it is returning json, but the body just contains the string "false" or "true" (not valid json).

It's a nasty old RPC system, to which I want to add a nice RESTful facade.

I haven't managed to find a way to extract the body successfully. Whatever I try the content is just blank.

Does anyone know the right approach?

I have tried Extract Variables and Javascript policies with a standard flow.

I am considering re-engineering as a Service Callout, but will this work?

0 5 590
5 REPLIES 5
Top Solution Authors