[OTDev] Compound API

Christoph Helma helma at in-silico.de
Fri Nov 6 12:58:02 CET 2009


Excerpts from Egon Willighagen's message of Fri Nov 06 12:42:05 +0100 2009:
> I do not have overly much experience with REST service details, but
> how do the services handle MIME types? That is, how do I specify what
> mime type I'd like to see returned? Does the OpenTox API support the
> Accepts: HTTP header [0]?

Yes, Accept and Content-Type headers are supported.

> Finally, I would suggest JSON to be added to the list of (optional)
> output formats, which makes it easy to use the OpenTox API from
> JavaScript libraries...

JSON will be an output format for datasets. Are there any commonly
accepted representations of chemical structures in JSON (or YAML)?

Christoph



More information about the Development mailing list