📝 Question
#2331
Which of the following annotation of JAX RS API is used to annotate a method used to create resource?
✓
Correct Answer
C. @PUT
💡
Explanation
@PUT is the HTTP request that is used to create resource and also define a complete resource path. @POST may also be used to create a resource but it won’t define a resource path i.e. an accessing medium.
⌨️ Press
A
B
C
D
to select