Saturday, September 17, 2016

in REST API approaches the "accept" header determines (or suggests) what should be handed back on response (JSON or XML)

while the "content-type" header denotes what is handed in and thus how to deserialize (as JSON or as XML) what is handed in

No comments:

Post a Comment