send of the request is put in the sendrequest.js and in GetSingleEvent.js is only the input and build of the object