예제 #1
0
        public CoreResponse CreateMessage(MessageCreateRequest request)
        {
            // sign the request
            request.SignRequest(ProjectCode, ProjectApiSecret);

            string url = String.Format("{0}/events", api_endpoint);

            return(new CoreResponse(Helpers.GetApiResponse(url, "POST", JObject.FromObject(request))));
        }
예제 #2
0
        public CoreResponse CreateMessage(MessageCreateRequest request)
        {
            // sign the request
            request.SignRequest(ProjectCode, ProjectApiSecret);

            string url = String.Format("{0}/events", api_endpoint);
            return new CoreResponse(Helpers.GetApiResponse(url, "POST", JObject.FromObject(request)));
        }