使用HTTPS和HttpWebRequest的 [英] Using HTTPS and httpWebRequest
问题描述
我送httpwebrequests PayPal的API服务器,这使用HTTPS。我做正常的事情,你通常做的http请求,和它的工作。我需要做什么特别正确使用HTTPS,或者在请求URL enaugh被指定https使它工作?
I am sending httpwebrequests to the paypal api server and this uses https. I did the normal things that you normally do with http requests, and it worked. Do I need to do anything special to properly use https, or is specifying https in the request URL enaugh to make it work?
谢谢!
顺便说一下我的请求被从我的服务器发送的,所以它不是那么重要,如果他们其中被从客户端计算机发送给它们加密,但我仍然想这样做是正确的。
Btw my requests are being sent from my server, so it isn't as important to encrypt them as if they where being sent from the client computer, but still I want to do it right.
推荐答案
简单地交换HTTP以https同时使用是足够细的HttpWebRequest
。它需要HTTPS请求任何特殊处理。
Simply swapping http with https is fine enough while using HttpWebRequest
. It requires no special handling for https requests.
这篇关于使用HTTPS和HttpWebRequest的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!