creating the event POST format