C# HTTP/Https 请求demo

时间:2021-09-07 03:51:42
【文件属性】:

文件名称:C# HTTP/Https 请求demo

文件大小:462KB

文件格式:RAR

更新时间:2021-09-07 03:51:42

httpss http Post get

亲测通过,完美支持http,https ,get及Post 方式请求。支持http协议和https协议。使用问题可以留言


【文件预览】:
PosHttpsDemo.csproj.user
Program.cs
obj
----Debug()
--------TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs(0B)
--------ConsoleApplication2.csproj.FileListAbsolute.txt(447B)
--------DesignTimeResolveAssemblyReferencesInput.cache(14KB)
--------TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs(0B)
--------TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs(0B)
--------ConsoleApplication2.pdb(884KB)
--------ConsoleApplication2.exe(285KB)
bin
----Release()
----Debug()
--------ConsoleApplication2.vshost.exe.config(1KB)
--------ConsoleApplication2.vshost.exe(22KB)
--------ConsoleApplication2.pdb(884KB)
--------ConsoleApplication2.exe.config(1KB)
--------ConsoleApplication2.exe(285KB)
App.config
Service References
----ServiceReference1()
--------ShipWebServiceSchema.xsd(45KB)
--------UPSSecurity.xsd(991B)
--------ConsoleApplication2.ServiceReference1.ShipConfirmResponse1.datasource(681B)
--------ConsoleApplication2.ServiceReference1.ShipmentResponse1.datasource(675B)
--------configuration91.svcinfo(30KB)
--------common.xsd(3KB)
--------Ship.wsdl(6KB)
--------ConsoleApplication2.ServiceReference1.ShipAcceptResponse.datasource(677B)
--------Reference.svcmap(3KB)
--------ConsoleApplication2.ServiceReference1.ShipConfirmResponse.datasource(679B)
--------ConsoleApplication2.ServiceReference1.ShipmentResponse.datasource(673B)
--------Reference.cs(427KB)
--------IFWS.xsd(17KB)
--------Error1.xsd(3KB)
--------ConsoleApplication2.ServiceReference1.ShipAcceptResponse1.datasource(679B)
--------configuration.svcinfo(2KB)
----ES()
--------ConsoleApplication2.ES.WCFIntegracionColaboradorResponse.datasource(677B)
--------ConsoleApplication2.ES.IntegraSalida.datasource(637B)
--------ConsoleApplication2.ES.ConsultaEstadoDetalleSalida.datasource(665B)
--------ConsoleApplication2.ES.TrackingResponse.datasource(643B)
--------ConsoleApplication2.ES.WCFEliminaIntegracionResponse.datasource(669B)
--------ConsoleApplication2.ES.CreateShipmentOutput.datasource(651B)
--------ConsoleApplication2.ES.TrackOutput.datasource(633B)
--------ConsoleApplication2.ES.WCFIntegracionMrwImxResponse.datasource(667B)
--------ConsoleApplication2.ES.WCFSumaRestapiezasResponse.datasource(663B)
--------configuration91.svcinfo(30KB)
--------ConsoleApplication2.ES.WCFConsultaEstadoRecogidaResponse.datasource(677B)
--------ConsoleApplication2.ES.LabelZPLResponse.datasource(643B)
--------ServicioMRWIntl.wsdl(68KB)
--------ConsoleApplication2.ES.WCFRecuperaEtiquetaListaNumerosResponse.datasource(689B)
--------ConsoleApplication2.ES.IntegraSalidaImx.datasource(643B)
--------ConsoleApplication2.ES.SVCValida_APCResponse.datasource(653B)
--------Reference.svcmap(2KB)
--------ConsoleApplication2.ES.ConsultaEstadoRecogidaSalida.datasource(667B)
--------ConsoleApplication2.ES.SumapiezasOutput.datasource(643B)
--------ConsoleApplication2.ES.WCFRecuperaEtiquetaPDFResponse.datasource(671B)
--------ConsoleApplication2.ES.WCFRecuperaUnaEtiquetaPDFResponse.datasource(677B)
--------ConsoleApplication2.ES.WCFActivarRecogidasResponse.datasource(665B)
--------ConsoleApplication2.ES.WCFIntegracionResponse.datasource(655B)
--------ConsoleApplication2.ES.WCFRecuperaUnaEtiquetaPDFFormato1Response.datasource(693B)
--------ConsoleApplication2.ES.ConsultaCarrierSalida.datasource(653B)
--------ConsoleApplication2.ES.PrintLabelZPLResponse.datasource(653B)
--------ConsoleApplication2.ES.WCFRecuperaUnaEtiquetaResponse.datasource(671B)
--------ConsoleApplication2.ES.SVCActualizaDeptoResponse.datasource(661B)
--------ConsoleApplication2.ES.ZplOutput.datasource(629B)
--------ConsoleApplication2.ES.IntegraSalidaColaborador.datasource(659B)
--------ConsoleApplication2.ES.CreateShipmentResponse.datasource(655B)
--------ConsoleApplication2.ES.WCFConsultaEstadoResponse.datasource(661B)
--------ConsoleApplication2.ES.RecogidaSalida.datasource(639B)
--------ConsoleApplication2.ES.PrintLabelOutput.datasource(643B)
--------ConsoleApplication2.ES.ConsultaEstadoSalida.datasource(651B)
--------ConsoleApplication2.ES.WCFRecuperaEtiquetaResponse.datasource(665B)
--------Reference.cs(330KB)
--------configuration.svcinfo(2KB)
--------ServicioMRWIntl.disco(787B)
--------ConsoleApplication2.ES.WCFConsultaEstadoDetalleResponse.datasource(675B)
--------ConsoleApplication2.ES.WCFConsultaCarrierResponse.datasource(663B)
httptest2.cs
PosHttpsDemo.csproj
Properties
----AssemblyInfo.cs(1KB)

网友评论

  • 这个好,但只有POST方法支持HTTPS,GET方法要参照POST改一下就可以支持HTTPS了!
  • 这只是Jason数据格式上传,没看到文件上传
  • 可以,倒是能用