<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET WebForms</title><link>https://www.dotnetzone.gr:443/cs/forums/13/ShowForum.aspx</link><description>Θέματα για web εφαρμογές, σε ASP.NET WebForms</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Post data not working when executed through code C#</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/62451.aspx</link><pubDate>Tue, 18 Jan 2011 05:54:54 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:62451</guid><dc:creator>KroDevelop</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/62451.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=62451</wfw:commentRss><description>&lt;P&gt;Καλησπέρα Τάσο,&lt;/P&gt;&lt;P&gt;Σε ευχαριστώ για τη βοήθεια σου.&lt;/P&gt;&lt;P&gt;Δεν ήταν τελικά το Request.UserAgent, αλλά είχες δίκιο λέγοντας ότι "η άλλη πλευρά έχει κάποια ιδιαιτερότητα και εκεί σκαλώνει η όλη ιστορία".&lt;/P&gt;&lt;P&gt;Όντως η άλλη πλευρά επέτρεπε μόνο αιτήματα "POST" από το absolute path της checkout.aspx ("http://www.domain.com/checkout.aspx). Έπρεπε να οριστεί το request.Refferer με το&amp;nbsp;path της checkout.aspx&amp;nbsp;για να δεχτεί τα αιτήματα.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Απ: Post data not working when executed through code C#</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/62430.aspx</link><pubDate>Mon, 17 Jan 2011 07:49:29 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:62430</guid><dc:creator>tasos</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/62430.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=62430</wfw:commentRss><description>&lt;p&gt;Δεν νομίζω πως χρειάζεται κάτι παραπάνω για το https. Σε ένα Project μου που χρειάστηκε να κάνω post σε https μέσω κώδικα δεν χρειάστηκε κάτι ιδιαίτερο.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Φαντάζομαι πως ότι κάνεις είναι οκ, ίσως η άλλη πλευρά έχει κάποια ιδιαιτερότητα και εκεί σκαλώνει η όλη ιστορία.&amp;nbsp;&lt;br&gt;Όταν κάνεις post μέσω κώδικα, ο server που δέχεται το post βλέπει την πληροφορία Request.UserAgent άδεια. Μήπως δεν δέχεται το post επειδή καταλαβαίνει ότι δεν είναι browser αυτός που κάνει το post. Βάλε λοιπόν στο request σου το UserAgent που έχει ο browser του επισκέπτη της σελίδας σου (γραμμή 8):&lt;/p&gt;&lt;p&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color:#f2f2f2;border:solid 1px #e5e5e5;"&gt;&lt;tr style="vertical-align:top;line-height:normal;"&gt;&lt;td style="width:40px;text-align:right;"&gt;&lt;pre style="font-family:courier new;font-size:11px;color:gray;margin:0px;padding:2px;border-right:solid 1px #e7e7e7;"&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 &lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;pre style="margin:0px;padding:2px;padding-left:8px;"&gt;&lt;span style="color:Black;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;    &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;static&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;string&lt;/span&gt; PerformRequest(&lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;string&lt;/span&gt; method, &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;string&lt;/span&gt; url, &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;string&lt;/span&gt; data)
    {
        &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;try&lt;/span&gt;
        {
            HttpWebRequest request &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; (HttpWebRequest)WebRequest.Create(url);
            request.ContentType &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"application/x-www-form-urlencoded"&lt;/span&gt;;
            request.Method &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; method;
            request.UserAgent &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;this&lt;/span&gt;.Page.Request.UserAgent;
            request.ContentLength &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; data.Length;
            StreamWriter sWriter &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;new&lt;/span&gt; StreamWriter(request.GetRequestStream());
            sWriter.Write(data);
            sWriter.Close();
            WebResponse response &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; request.GetResponse();
            StreamReader reader &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;new&lt;/span&gt; StreamReader(response.GetResponseStream());
            &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;string&lt;/span&gt; responseString &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; reader.ReadToEnd();
            reader.Close();
            &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;return&lt;/span&gt; responseString;
        }
        &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;catch&lt;/span&gt; (HttpException hex)
        {
            &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;return&lt;/span&gt; hex.Message;
        }
    }&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Δεν ξέρω κατά πόσο θα δουλέψει, αλλά είναι η μόνη διαφορά που σκέφτηκα που έχει το post μέσω της html φόρμας και του post μέσω του κώδικα.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Απ: Post data not working when executed through code C#</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/62397.aspx</link><pubDate>Mon, 17 Jan 2011 04:55:31 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:62397</guid><dc:creator>KroDevelop</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/62397.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=62397</wfw:commentRss><description>To δοκίμασα και με την κωδικοποίηση των δεδομένων αποστολής αλλά και πάλι τίποτα.&lt;BR&gt;Μήπως χρειάζεται κάτι επιπλέον για την αποστολή δεδομένων σε https;</description></item><item><title>Απ: Post data not working when executed through code C#</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/62396.aspx</link><pubDate>Mon, 17 Jan 2011 04:31:45 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:62396</guid><dc:creator>tasos</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/62396.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=62396</wfw:commentRss><description>&lt;p&gt;Καλησπέρα και από μένα,&amp;nbsp;&lt;/p&gt;&lt;p&gt;Βρήκα αυτό το παράδειγμα (&lt;a href="http://stackoverflow.com/questions/26857/how-do-you-programmatically-fill-in-a-form-and-post-a-web-page"&gt;http://stackoverflow.com/questions/26857/how-do-you-programmatically-fill-in-a-form-and-post-a-web-page&lt;/a&gt;) στο stackoverflow όπου έχει ένα παράδειγμα για http post μέσω C#.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Το μόνο σημείο που διαφέρει με το δικό σου κώδικα είναι ότι αλλάζει τα data που γράφεις στο request stream σε byte[]. και γράφει το byte array στο stream και όχι το string. Ίσως αυτό σε βοηθήσει...&lt;/p&gt;&lt;p&gt;&lt;pre&gt;&lt;span style="color:Black;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color:#f2f2f2;border:solid 1px #e5e5e5;"&gt;&lt;tr style="vertical-align:top;line-height:normal;"&gt;&lt;td style="width:40px;text-align:right;"&gt;&lt;pre style="font-family:courier new;font-size:11px;color:gray;margin:0px;padding:2px;border-right:solid 1px #e7e7e7;"&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 &lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;pre style="margin:0px;padding:2px;padding-left:8px;"&gt;&lt;span style="color:Black;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;WebRequest req &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; WebRequest.Create(&lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"http://mysite/myform.aspx"&lt;/span&gt;);
&lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;string&lt;/span&gt; postData &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"item1=11111&amp;amp;item2=22222&amp;amp;Item3=33333"&lt;/span&gt;;

&lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;byte&lt;/span&gt;[] send &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; Encoding.Default.GetBytes(postData);
req.Method &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"POST"&lt;/span&gt;;
req.ContentType &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; &lt;span style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"application/x-www-form-urlencoded"&lt;/span&gt;;
req.ContentLength &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; send.Length;

Stream sout &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; req.GetRequestStream();
sout.Write(send, 0, send.Length);
sout.Flush();
sout.Close();

WebResponse res &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; req.GetResponse();
StreamReader sr &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; &lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;new&lt;/span&gt; StreamReader(res.GetResponseStream());
&lt;span style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;string&lt;/span&gt; returnvalue &lt;span style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/span&gt; sr.ReadToEnd();&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;</description></item><item><title>Post data not working when executed through code C#</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/62392.aspx</link><pubDate>Mon, 17 Jan 2011 02:53:55 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:62392</guid><dc:creator>KroDevelop</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/62392.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=62392</wfw:commentRss><description>&lt;P&gt;Καλησπέρα σε όλους,&lt;/P&gt;&lt;P&gt;Μπορώ να πω ότι έχω δοκιμάσει όσα μου ήρθαν στο μυαλό μέχρι στιγμής.&lt;/P&gt;&lt;P&gt;Δοκίμασα το fiddler και δυστυχώς, δε μου δουλεύει ίσως γιατί είναι "https" και η τράπεζα έχει κάποιον επιπλέον μηχανισμό ελέγχου. Δε γνωρίζω.&lt;/P&gt;&lt;P&gt;Το συγκεκριμένο POST (Δοκίμασα και με GET) μου επιστρέφει μόνο το url αποτυχίας "NotOk.aspx" μέσα από το "HttpWebResponse.ResponseUri.AbsoluteUri".&lt;/P&gt;&lt;P&gt;Κάτι που σημαίνει ότι το POST δεν είναι σωστό ή κάτι δε κάνω σωστά σε σχέση με το κάνονικό "submit" της απλής "HTML".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Απ: Re: Απ: Re: Post data not working when executed through code C#</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/62343.aspx</link><pubDate>Fri, 14 Jan 2011 18:41:48 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:62343</guid><dc:creator>dimos.homatas</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/62343.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=62343</wfw:commentRss><description>Ρε παιδιά, τέτοια μακαρόνια δεν είναι καλύτερα να τα χειριζόμαστε με την string.format ?</description></item><item><title>Απ: Re: Απ: Re: Post data not working when executed through code C#</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/62342.aspx</link><pubDate>Fri, 14 Jan 2011 18:37:42 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:62342</guid><dc:creator>bagosm</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/62342.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=62342</wfw:commentRss><description>Γιατί δεν βάζεις ενα break-point στο &lt;br&gt;&lt;pre&gt;&lt;span style="color:black;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&lt;span style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;string&lt;/span&gt; resp &lt;span style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/span&gt; &lt;span style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;""&lt;/span&gt;;&lt;br&gt;&lt;/span&gt;&lt;/pre&gt;

Ωστε να δείς το url που σχηματίζεται, πιο πριν, ωστε να το κάνεις copy και να το δοκιμάσεις απο browser;&lt;br&gt;&lt;br&gt;Επίσης δοκίμασε να κάνεις και &lt;a href="http://msdn.microsoft.com/en-us/library/zttxte6w.aspx"&gt;http://msdn.microsoft.com/en-us/library/zttxte6w.aspx&lt;/a&gt; πανω στο url πριν το στείλεις, όπως επίσης αντι για POST να κάνεις GET&lt;br&gt;</description></item><item><title>Re: Απ: Re: Post data not working when executed through code C#</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/62335.aspx</link><pubDate>Fri, 14 Jan 2011 17:35:47 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:62335</guid><dc:creator>vlinakis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/62335.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=62335</wfw:commentRss><description>&lt;P&gt;Καλημέρα,&lt;BR&gt;&lt;BR&gt;Παρατηρώ ότι στο αρχικό σου&amp;nbsp;μήνυμα που παραθέτεις το string που χτίζεις για να κάνεις το form Post γράφει:&lt;BR&gt;&lt;BR&gt;string postData = "+APACScommand&lt;FONT&gt;+=&lt;/FONT&gt;NewPayment&amp;amp;merchantID=" + sMerchantID + "&amp;amp;amount=" + sAmount + "&amp;amp;merchantRef=" + sRef + "&amp;amp;merchantDesc=" + "ThisIsTest" + "¤cy=" + sCurrency + "&amp;amp;lang=&amp;amp;Var1=" + "&amp;amp;Var2=" + "Visa" + "&amp;amp;Var3=&amp;amp;Var4=&amp;amp;Var5=&amp;amp;Var6=" + "Andy%40mymail.com" + "&amp;amp;Var7=&amp;amp;Var8=&amp;amp;Var9=&amp;amp;CustomerEmail=" + "Andy%40mymail.com" + "&amp;amp;Offset=0&amp;amp;Period=0";&lt;BR&gt;&lt;BR&gt;ίσως αυτό να είναι το λάθος. Λογικά θα έπρεπε να είναι:&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;string postData = "+APACScommand&lt;FONT&gt;=&lt;/FONT&gt;NewPayment&amp;amp;merchantID=" + sMerchantID + "&amp;amp;amount=" + sAmount + "&amp;amp;merchantRef=" + sRef + "&amp;amp;merchantDesc=" + "ThisIsTest" + "¤cy=" + sCurrency + "&amp;amp;lang=&amp;amp;Var1=" + "&amp;amp;Var2=" + "Visa" + "&amp;amp;Var3=&amp;amp;Var4=&amp;amp;Var5=&amp;amp;Var6=" + "Andy%40mymail.com" + "&amp;amp;Var7=&amp;amp;Var8=&amp;amp;Var9=&amp;amp;CustomerEmail=" + "Andy%40mymail.com" + "&amp;amp;Offset=0&amp;amp;Period=0";&lt;BR&gt;&lt;BR&gt;Το δοκιμάζεις να δούμε;&lt;BR&gt;&lt;BR&gt;Ευχαριστώ,&lt;BR&gt;Βασίλης&lt;BR&gt;&lt;/P&gt;</description></item><item><title>Απ: Re: Post data not working when executed through code C#</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/62315.aspx</link><pubDate>Fri, 14 Jan 2011 01:00:39 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:62315</guid><dc:creator>KroDevelop</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/62315.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=62315</wfw:commentRss><description>&lt;P&gt;Καλησπέρα vlinakis,&lt;/P&gt;&lt;P&gt;Καταρχάς σε ευχαριστώ για το χρόνο σου και την απάντηση σου.&lt;/P&gt;&lt;P&gt;Τώρα για το POST. Όταν λέω "δεν δουλεύει μάλλον εννοώ δεν έχει τα επιθυμητά αποτελέσματα". Δηλαδή δεν εμφανίζει τη σελίδα "Ok.aspx" ή "NotOk.aspx", η οποία πρέπει να γίνεται με μια απάντηση από το σύστημα της τράπεζας.&lt;/P&gt;&lt;P&gt;Η τοπολογία είναι τύπου client/Server.&lt;/P&gt;&lt;P&gt;Δοκίμασα το Fiddler και το μόνο που έβγαλα άκρη είναι ότι η σύνδεση με το url που κάνω POST γίνεται κανονικά.&lt;/P&gt;&lt;P&gt;Παρακάτω είναι και ο κώδικας της απλής φόρμας.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color:black;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;    	  &amp;lt;!--BEGINNING OF PAYMENT FORM--&amp;gt;
	  &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;form&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="PayformVisa"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Method&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="POST"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;action&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="https://eptest.eurocommerce.gr/proxypay/apacs"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;input&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;type&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="APACScommand"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="NewPayment"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="merchantID"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="1827"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="amount"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="1200"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="merchantRef"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="2011"&lt;/SPAN&gt; &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="merchantDesc"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="DemoShop"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="currency"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="0978"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt; &amp;lt;!--0978 equals Euro--&amp;gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="lang"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="EN"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Var1"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="VAR"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Var2"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="VAR"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Var3"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="VAR"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Var4"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="VAR"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;NAME&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Var5"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="VAR"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;NAME&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Var6"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="VAR"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Var7"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="VAR"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Var8"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="VAR"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Var9"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="VAR"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="CustomerEmail"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="user@mail.com"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Offset"&lt;/SPAN&gt;  &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="0"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="hidden"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Period"&lt;/SPAN&gt;  &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="0"&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;INPUT&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="button"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="Visa"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;onClick&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="document.PayformVisa.submit();"&lt;/SPAN&gt;
		 &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;width&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="58"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;height&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;="39"&lt;/SPAN&gt; &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color:maroon;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;form&lt;/SPAN&gt;&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;&amp;gt;&lt;/SPAN&gt;
      &amp;lt;!-- END OF PAYMENT FORM--&amp;gt;		  &lt;/SPAN&gt;&lt;/PRE&gt;</description></item><item><title>Re: Post data not working when executed through code C#</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/62198.aspx</link><pubDate>Mon, 10 Jan 2011 00:04:33 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:62198</guid><dc:creator>vlinakis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/62198.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=62198</wfw:commentRss><description>&lt;P&gt;Καλησπέρα KroDevelop,&lt;BR&gt;&lt;BR&gt;Θα βοηθούσε να μας δώσεις και τα παρακάτω στοιχεία:&lt;BR&gt;&lt;BR&gt;1. Τι ακριβώς συμβαίνει όταν λες "δεν δουλεύει"; Έχεις κάποιο συγκεκριμένο μήνυμα σφάλματος;&lt;BR&gt;2. Η απλή HTML σελίδα και το .Net Post γίνονται από το ίδιο μηχάνημα/IP ή&amp;nbsp;υπάρχει μια τοπολογία client/server; Αυτό το ρωτάω διότι στη μια περίπτωση το Post γίνεται απ' ευθείας από τον client σου ενώ στη δεύτερη (αν μιλάμε για hosted application) γίνεται από το μηχάνημα που γίνεται host η εφαρμογή σου.&lt;BR&gt;2. Μπορείς να παραθέσεις και τον απλό HTML κώδικα ο οποίος δουλεύει;&lt;BR&gt;&lt;BR&gt;Μια ιδέα για debug θα ήταν να χρησιμοποιήσεις το Fiddler για να δεις τα στοιχεία που αποστέλλονται&amp;nbsp;και λαμβάνονται&amp;nbsp;σε κάθε περίπτωση.&lt;BR&gt;&lt;BR&gt;Ευχαριστώ,&lt;BR&gt;Βασίλης&lt;/P&gt;</description></item><item><title>Post data not working when executed through code C#</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/62175.aspx</link><pubDate>Sun, 09 Jan 2011 00:45:55 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:62175</guid><dc:creator>KroDevelop</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/62175.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=62175</wfw:commentRss><description>&lt;P&gt;Καλησπέρα σε όλους,&lt;/P&gt;&lt;P&gt;Αυτή είναι η πρώτη μου δημοσίευση - ερώτηση. Να σας πω την αλήθεια με έπεισε το ITPRODEVCONNECTIONS 2010 , για να κάνω πιο ενεργεί τη συμμετοχή μου στην κοινότητα.&lt;/P&gt;&lt;P&gt;Ορίστε λοιπόν το πρόβλημα&amp;nbsp;μου.&lt;/P&gt;&lt;P&gt;Φτιάχνω μία υλοποίηση ενός πολύ απλού ηλεκτρονικού καταστήματος που να δέχεται πληρωμές με κάρτες μέσω λογαριασμών merchant.&lt;/P&gt;&lt;P&gt;Ενώ όταν κάνω το POST με απλή form και HTML μέσω submit χωρίς κώδικα από την "~/checkout.aspx"&amp;nbsp;όλα δουλεύουν και μου εμφανίζει τη σελίδα&amp;nbsp;success/NoSuccess&amp;nbsp;(π.χ. ~/NotOK.aspx).&lt;/P&gt;&lt;P&gt;Όταν κάνω το POST μέσω κώδικα δε μου δουλεύει.&lt;/P&gt;&lt;P&gt;Παρακάτω είναι ο κώδικας που χρησιμοποιώ. H sendPayment() καλείται μέσα σε έναν event handler ενός asp:button.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color:black;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt; &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;bool&lt;/SPAN&gt; sendPayment()
{     
  &lt;SPAN style="color:green;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;//Εάν έχει επιλεγεί πληρωμή μέσω κάρτας, τότε αποστολή των στοιχείων της παραγγελίας στη σελίδα της τράπεζας&lt;/SPAN&gt;
        &lt;SPAN style="color:green;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;//για χρέωση της κάρτας του πελάτη&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;string&lt;/SPAN&gt; postData &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"+APACScommand+=NewPayment&amp;amp;merchantID="&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; sMerchantID &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;amount="&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; sAmount &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;merchantRef="&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; 
        sRef &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;merchantDesc="&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"ThisIsTest"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;currency="&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; sCurrency &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;lang=&amp;amp;Var1="&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; 
        &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;Var2="&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"Visa"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;Var3=&amp;amp;Var4=&amp;amp;Var5=&amp;amp;Var6="&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; 
        &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"Andy%40mymail.com"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;Var7=&amp;amp;Var8=&amp;amp;Var9=&amp;amp;CustomerEmail="&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"Andy%40mymail.com"&lt;/SPAN&gt; &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"&amp;amp;Offset=0&amp;amp;Period=0"&lt;/SPAN&gt;;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;string&lt;/SPAN&gt; resp &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;""&lt;/SPAN&gt;;
        resp &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/SPAN&gt; PerformRequest(WebRequestMethods.Http.Post, &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"https://eptest.eurocommerce.gr/proxypay/apacs"&lt;/SPAN&gt;, postData);

        &lt;SPAN style="color:green;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;//επιτυχής αποθήκευση&lt;/SPAN&gt;
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;return&lt;/SPAN&gt; &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;true&lt;/SPAN&gt;;
    }

    &lt;SPAN style="color:green;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;/// &amp;lt;summary&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN style="color:green;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;/// Performs requests to urls by sending data using methods "GET" or "POST"&lt;/SPAN&gt;
    &lt;SPAN style="color:green;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;/// &amp;lt;/summary&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN style="color:green;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;/// &amp;lt;param name="method"&amp;gt;Specified method to send data (POST or GET)&amp;lt;/param&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN style="color:green;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;/// &amp;lt;param name="url"&amp;gt;The url which the data are submitted&amp;lt;/param&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN style="color:green;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;/// &amp;lt;param name="data"&amp;gt;String with the data&amp;lt;/param&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN style="color:green;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;/// &amp;lt;returns&amp;gt;The response of the server&amp;lt;/returns&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;public&lt;/SPAN&gt; &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;static&lt;/SPAN&gt; &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;string&lt;/SPAN&gt; PerformRequest(&lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;string&lt;/SPAN&gt; method, &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;string&lt;/SPAN&gt; url, &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;string&lt;/SPAN&gt; data)
    {
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;try&lt;/SPAN&gt;
        {
            HttpWebRequest request &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/SPAN&gt; (HttpWebRequest)WebRequest.Create(url);
            request.ContentType &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"application/x-www-form-urlencoded"&lt;/SPAN&gt;;
            request.Method &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/SPAN&gt; method;
            request.ContentLength &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/SPAN&gt; data.Length;
            StreamWriter sWriter &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;new&lt;/SPAN&gt; StreamWriter(request.GetRequestStream());
            sWriter.Write(data);
            sWriter.Close();
            WebResponse response &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/SPAN&gt; request.GetResponse();
            StreamReader reader &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;new&lt;/SPAN&gt; StreamReader(response.GetResponseStream());
            &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;string&lt;/SPAN&gt; responseString &lt;SPAN style="color:red;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;=&lt;/SPAN&gt; reader.ReadToEnd();
            reader.Close();
            &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;return&lt;/SPAN&gt; responseString;
        }
        &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;catch&lt;/SPAN&gt; (HttpException hex)
        {
            &lt;SPAN style="color:blue;font-family:Courier New;font-size:11px;font-weight:normal;background-color:transparent;"&gt;return&lt;/SPAN&gt; hex.Message;
        }
    }&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;
&lt;BR&gt;&lt;/P&gt;</description></item></channel></rss>