I've connected a temperature & humidity sensor, a photoresistor and a LED to an Ethernet shield plugged onto my Arduino Uno.
I've used a CoAP library and I've created an Arduino sketch. It connects to the internet and sends sensor readings to the cloud.
I may view them in the application or on a dashboard.