Question: Given below is a spring boot code using get mapping that annotates two methods to determine the name and number of a user. 1 egetMapping
Given below is a spring boot code using get mapping that annotates two methods to determine the name and number of a user.
egetMapping rootname
public string name
return "abc";
egetMapping no
public String getNoePathVariable String no
retirn "fetching userno";
hat is the significance of the URL. Path based on the mentioned code? each annotation of Eigernationg will spechy detelt speh of UP: each annotation of egetinapping wil spechy roct path of U different paths
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
