What is the most appropriate media type (formally MIME type) to use when sending data structured with YAML over HTTP and why?
There is no registered application type
Although another answer was accepted, please refer to this Proposed media type registration for YAML thread on the IANA mailing list for reviewing Media Type in which Ben Harris, University of Cambridge Information Services, proposed in July 2015 on behalf of the YAML team the media type:
text/vnd.yaml
with (suggested) deprecated aliases:
text/yaml
text/x-yaml
application/x-yaml
That is still proposed/pending (the thread does not indicate status of the proposal) so this answer is no more definitive than the others :-)