function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Girish Reddy 52Girish Reddy 52 

can we have more than one end url in an apex class ? please give examples

I meant to say more than two post methods which are doing different works
VinayVinay (Salesforce Developers) 
Hi Girish,

You cannot use two post methods in the same class but you can use in different class.

Check similar references below.
https://salesforce.stackexchange.com/questions/64982/apex-rest-class-why-cant-i-have-multiple-apex-methods-for-the-same-http-metho

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,