AnsweredAssumed Answered

Return HTML from an endpoint

Question asked by Kenneth Brill on Oct 17, 2018

I have an endpoint that accepts connections and toggles records either approve or disapprove.  It works perfectly.  We email a link out and if the user clicks on it they browse to 

 

https://whatever.sugarcrm.com/record/approve/GUID

 

and it works except all the get back is a JSON string something like

 

{'result':'Success'}

 

and that shows up in their browser window.  Is there ANY way I could return something prettier?

Outcomes