Now able to send a POST command to the api/url to create an event