Added a sample. Also fixed a HTTP bug when rendering.