Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
trestrequest is in json format, I want in my output to receive ok or not (if there are errors) in json format when I call the REST in browser with other information.
Thank you
Regards
Set the "Return Body Type" as String in your tRESTResponse. It defaults to Document. Then you can send your JSON String back.
i changed the Body of trestresponse to sting and i don't receive the OK or not in my browser:
Thank you
You will have to add that to your JSON. When you set the "Return Status Code" in the tRESTResponse, that is not intended to be displayed. You can see it using your developer settings of the browser you are using (here is an example using IE https://msdn.microsoft.com/en-us/library/gg130952(v=vs.85).aspx).
You will only see what your job outputs in the Document or String in the browser window.