For example, the prefixes are all pc, there are two Actions a and b, which are get and post requests respectively, and the console debugging routes are pc/a and pcs/bs respectively. I don’t know why this is the case?
phpcn_u15822017-05-16 16:46:00
RestfulBundle is the default. If you want to use this s, you can define routing by yourself
use FOSRestBundleControllerAnnotations as Rest;
@RestGet("/test/{id}")