Wireless Sensor Networks provide unprecedented possibilities for monitoring and interacting with the real-world. Unfortunately, the lack of open and simple standards for ad-hoc collaboration between heterogeneous embedded devices makes it difficult to build large-scale deployments; every particular application requires complex integration work, and therefore technical expertise, effort and time. Inspired by the success of Web 2.0 mashups, we propose a similar lightweight approach for interacting with networked devices. In particular, we describe a gateway architecture that enables to access sensor nodes through a RESTful interface. With this approach, interacting with a sensor node becomes as easy as typing a URI in a Web browser. By reusing the architectural principles of the modern Web, we show how one can built a loosely coupled infrastructure for the Web of Things that scales well and extends the current Web to the real world.