Forums » API consumers general questions » Generic Content-Type
I am testing some APIs, and the CoolClimate api is returning Content-Type=application/octet-stream. I haven't gotten to the other APIs yet, still awaiting request confirmation.
Since the API is returning XML, the content-type should reflect that. That way, consumers can check the content type to determine what kind of response format they are dealing with. On that note, it would be nice if the APIs offered json responses as well as xml.