Possible Duplicate:
Can we create multiple @Http Methods (REST) annotations of the same type in a single class?
I want to call both methods from external system. Using Rest Methods
global with sharing class getMyData{
@HttpGet
global static String getAccount()
{
//
//some logic's goes here
//
return Accounts;
}
global static String getContats()
{
//
//some logic's goes here
//
return Contacts;
}
}
I want to show the both results at a time. suggest any help me.