Posted by Seamus on Monday, October 25, 2010.

We are an XML web service, too

You can talk to Carbon Middleware in XML:

$ curl -v http://carbon.brighterplanet.com/automobiles.xml \
       -H 'Content-Type: application/xml' \
       -X POST \
       --data "<make>Nissan</make>"

You can receive responses in XML:

<?xml version="1.0" encoding="UTF-8"?>
<hash>
  <emission type="float">4017.7826406033573</emission>
  <emission-units>kilograms</emission-units>
  <make>
    <fuel-efficiency type="float">11.7886</fuel-efficiency>
    <fuel-efficiency-units>kilometres_per_litre</fuel-efficiency-units>
    <name>Nissan</name>
  </make>
  <!-- [...] -->
</hash>

We’re just trying to make it easy to connect with us, whether your application speaks XML, JSON, or even x-www-form-urlencoded.

What blog is this?

Safety in Numbers is Brighter Planet's blog about climate science, Ruby, Rails, data, transparency, and, well, us.

Who's behind this?

We're Brighter Planet, the world's leading computational sustainability platform.

Who's blogging here?

  1. Patti Prairie CEO