请求方 try { using (var client = new HttpClient()) { StringContent content = new StringContent(strParam);//参数序列化后,放入StringContent content.Headers.ContentType = new MediaTypeHeaderValue("application/json");//设置type //放入head的名字可以随意设置(和接收方一直就可以),值需要单独…
#settings.py """ Django settings for AutoCmdb project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings…