get http-functions

I don’t understand why you need to format the data - I thought that it’s being passed in an HTTP request. The way you pass the data is up to you. You just need to follow the guidelines in Exposing a Site API with HTTP Functions .