Modifications

made a change to the loop for data. 
changes to http post formatting.