Home > Back-end >  Consult getmapping mass participation
Consult getmapping mass participation

Time:12-05





Look at the picture first -, -
Roughly is
My url:/updateBlog/{id} and participate in the final and then can run normally, attention in return will be @ ControllerAdvice catch exceptions, is the value of id is null,,

And change to the url:/blog_input/{id}/updateBlog preach to participate in the middle, won't appear abnormal,

This is how this
Both can run normally, according to the truth is not walk the path of return to the requested resource, why will appear this kind of situation -- - -

CodePudding user response:

Feel and where it doesn't matter, can be anywhere in the url path is pathvariable
  • Related