当前位置:编程学习 > C#/ASP.NET >>

如何用asp.net发送如下带参数的请求,求大虾们帮忙

POST /feeds/documents/private/full?xoauth_requestor_id=j.doe%40example.com HTTP/1.1 
Host: docs.google.com 
Content-Type: application/atom+xml 
Authorization: OAuth oauth_version="1.0", 
oauth_nonce="1c4fbbe4387a685829d5938a3d97988c", oauth_timestamp="1227303732", oauth_consumer_key="example.com", 
oauth_signature_method="HMAC-SHA1", 
oauth_signature="lqz%2F%2BfwtusOas8szdYd0lAxC8%3D"  
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom">   
<atom:category scheme="http://schemas.google.com/g/2005#kind"                 term="http://schemas.google.com/docs/2007#document" />   
<atom:title>Company Perks</atom:title> </atom:entry> --------------------编程问答-------------------- 我有一个例子,我给你分析分析。
http://szcrmsystem.gicp.net:800/dosql.aspx?request=Vjwqd。。。。。很多字符。这个是我要请求的地址。


因为vjwqd这些东西,是加密过的。所以在另外一个页面接收的时候。
Request.Form["ID"]="";  把加密的这些东西获取到。
我接收到的东西是:
YQ96EMoBsyLqF4xnEv2uVi6oaufxEyWnPTxmPr2usNhydjBu。。。。。。。。。

然后我解密。解密以后是一个xml文档。
然后可以得到xml文档中的信息。至于怎么读取xml,这个我不想多说,一搜一大把。
--------------------编程问答--------------------
引用 1 楼 nevermore_0923 的回复:
我有一个例子,我给你分析分析。
http://szcrmsystem.gicp.net:800/dosql.aspx?request=Vjwqd。。。。。很多字符。这个是我要请求的地址。


因为vjwqd这些东西,是加密过的。所以在另外一个页面接收的时候。
Request.Form["ID"]="";  把加密的这些东西获取到。
我接收到的东西是:
YQ96EMoBsyLqF4x……

应该就是要那个一大把,,,
补充:.NET技术 ,  ASP.NET
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,