Fixed http put request for new heatmap generation. Fixes #285.