Forums » API consumers general questions » Generic Content-Type

arderyp@berkeley.edu
Avatar

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.

kchsieh@berkeley.edu
Avatar

This is very specific to this API, I suggest you contact the API owner directly. You can find the owner's email address listed under each API.

arderyp@berkeley.edu
Avatar

great, thanks for the pointer! Contact email sent.