dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: memeloo

Search: Search took 0.01 seconds.

  1. Thread: HttpWebRequest

    by memeloo
    Replies
    17
    Views
    14,736

    Re: HttpWebRequest

    sure, here it is:


    using System;
    using System.IO;
    using System.Net;
    using System.Xml.Linq;

    namespace ConsoleApplication2
    {
  2. Thread: HttpWebRequest

    by memeloo
    Replies
    17
    Views
    14,736

    Re: HttpWebRequest

    interestingly it works when you put all the parameters in the call to Create the instance of HttpWebRequest like this:


    HttpWebRequest httpWebRequest =
    ...
  3. Thread: HttpWebRequest

    by memeloo
    Replies
    17
    Views
    14,736

    Re: HttpWebRequest

    ok, I did like you said. then I moved the "entry?" part to post data like this:


    HttpWebRequest mineReq = (HttpWebRequest)WebRequest.Create("https://friendfeed-api.com/v2/");
    ...
    String...
  4. Thread: HttpWebRequest

    by memeloo
    Replies
    17
    Views
    14,736

    Re: HttpWebRequest

    I don't think so, though my first thought was exacly the same but then I read that wikipedia states that friendfeed is owned by facebook. besides I use fake accounts anyway ;)
  5. Thread: HttpWebRequest

    by memeloo
    Replies
    17
    Views
    14,736

    Re: HttpWebRequest

    someone will laugh... but I don't know what the password is. could it be my facebook pass when I registered with my facebook account?
  6. Thread: HttpWebRequest

    by memeloo
    Replies
    17
    Views
    14,736

    Re: HttpWebRequest

    sure, I already tried it but I don't see any System.Web dll to add. I added a using System.Web but VS still does not recognize HttpUtility and even IntelliSense does not see it even though it's there...
  7. Thread: HttpWebRequest

    by memeloo
    Replies
    17
    Views
    14,736

    Re: HttpWebRequest

    and you are not about to tell me what I should add?


    where do I find a valid user and pass?
  8. Thread: HttpWebRequest

    by memeloo
    Replies
    17
    Views
    14,736

    Re: HttpWebRequest

    you sample code is incomplete and it cannot be tested (the HttpUtility is missing). I also get a "The remote server returned an error: (401) Unauthorized." exception. isn't your firewall blocking...
Results 1 to 8 of 8


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)