Got basic REST API working for doubles