+ Start a Discussion
Arjun y 7Arjun y 7 

How to check in salesforce that myservice has been called from external system

Hi All,

I have developed one small rest api service. External system is calling daily to that service.

My query is how can i check that callout time in salesforce when ever they are calling myservice from external system?
global class MyService {
    global static String doGet() {
        String name = RestContext.request.params.get('name');
        return 'Hello '+name;