Closed Jmr3366 closed 2 weeks ago
closes #2489
rest failures will now return a JSON in the format below {"error": < message or code >}
rest
{"error": < message or code >}
Examples: [r: rest.get("https:\\errorTest")] output {"error":java.net.UnknownHostException: No such host is known (errorTest)"}
[r: rest.get("https:\\errorTest")]
{"error":java.net.UnknownHostException: No such host is known (errorTest)"}
Deny example: [r: rest.get("https:\\knownGoodURL")] output {"error": "403"}
[r: rest.get("https:\\knownGoodURL")]
{"error": "403"}
This change is
fwiw I didn't see a way for me to label the PR, I'm guessing github is having issues pulling in the #data info.
Identify the Bug or Feature request
closes #2489
Description of the Change
rest
failures will now return a JSON in the format below{"error": < message or code >}
Examples:
[r: rest.get("https:\\errorTest")]
output{"error":java.net.UnknownHostException: No such host is known (errorTest)"}
Deny example:
[r: rest.get("https:\\knownGoodURL")]
output{"error": "403"}
This change is