I've created a public site with a RESTful service mentioned in this blog, however this site uses Guest User License and I can't see any debug statements when this webservice is used by Postman.
Is this intended or am I missing something? Is there way to track the callouts made without using a custom object for logging?
Any help is greatly appreciated.
@HttpPost
global static String doPost() {
RestRequest req = RestContext.request;
Blob body = req.requestBody;
String requestString = body.toString();
BO_LeadFormWebservice wrapper = (BO_LeadFormWebservice) JSON.deserialize(requestString, BO_LeadFormWebservice.class);
System.debug('incoming payload');
System.debug(wrapper);
String result;
if(wrapper.google_key != null){
result = wrapper.google_key;
}
return result;
}