using Newtonsoft.Json;
using PLMTEST;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExternalDataSync
{
    public class InterfaceUpLoad
    {
        public static msgResHeader RequestPost(string url, msg m_msg)
        {
            return JsonConvert.DeserializeObject<msgResHeader>(HttpCli.Post(url, JsonConvert.SerializeObject(m_msg)));
        }


    }
}
