Question

Execute Service REST synchronous and asynchoronous
Hi,
Is there any way to execute a single Service-REST synchronous and asynchronously based on a condition?
My requirement is if its a Consumer A execute synchonous and if its Consumer B execute asynchronously. The reason behind this is Consumer A send a request to create a single case and consumer B sends a request to create around
~400 cases.
Thanks,
Suman