Basically salesforce have limitation of having only one type of method like (Get, Post) in one class so we can't use more than get one method in apex class so we have one work around in order to use multiple get method in one apex class
 |
| API Dispatcher flow |