gets data from HTTP request, just need to write these to another file or DB