Creating an HTTP trigger