updated slurp script to handle new POST format for grabbing data