API: Decide between JSON/YAML based on content-type header
Honor the content-type
header in the API and parse the content accordingly. If not present, assume application/json
.
Honor the content-type
header in the API and parse the content accordingly. If not present, assume application/json
.