1.

Assume That There Is A Resource Class Capable Of Producing More Than One Mime Media Type For Get. How Will Be The Response Method Chosen?

Answer»

Resource method is CHOSEN DEPENDING on the most acceptable MEDIA type as DECLARED by the client in the request HEADER

e.g. 

Accept: text/plain. 

Resource method is chosen depending on the most acceptable media type as declared by the client in the request header. 

e.g. 

Accept: text/plain. 



Discussion

No Comment Found