HttpWebRequest is a class for .NET Framework applications that provides a HTTP-specific implementation of the WebRequest class.
0
votes
1answer
19 views
HttpWebRequest making duplicate request?
I'm running my program as a windows service and I'm trying to send a HTTP request everytime the time elapsed(i've set to 1 minute). What I'm trying to do at the server side is just writing a value ...
0
votes
0answers
8 views
How do I send API push message with .Net / Parse.com? (C#)
This is my application code for sending push message using PARSE
public static string ParseAuthenticate(string strUserName, string
{
var httpWebRequest = ...
0
votes
0answers
16 views
How to save unfinished download files?
I want to add pause/resume button in my downloader, but I don't know how to save unfinished download file so that when resume button is pressed, the downloader begin to just append to that file and ...
1
vote
0answers
9 views
Get clean ResponseStream when downloading multiple Ranges in c#
I am downloading multiple ranges from a (binary) remote file:
I create a request and add multiple ranges
HttpWebRequest MyRequest = (HttpWebRequest)WebRequest.Create("http://.....");
...
0
votes
0answers
24 views
WebRequest fails when using params over a certain size (Twitter Streaming API)
This may not be Twitter specific, but I am calling an API and when my params pushes over a certain size limit, the request fails with either a webException (sendFailure or receiveFailure).
I've ...
1
vote
1answer
20 views
How to manitain session values during HttpWebRequest?
In my code I'm sending a HttpWebRequest to a page in my website.
When request sends to this page, It doesn't maintain the Session values.
Below is the code, from where I'm generating the web ...
0
votes
3answers
34 views
Web scraping attempt at website with flash plugin
I am attempting to scrape a website which has some kind of flash plugin which is loading data after i retrieve the html. The following object is received in the page
<OBJECT ...
0
votes
2answers
53 views
ASP.NET WebApi Post Method - 404 When Passing Parameters
I cannot for the life of me figure this out. I have a web api controller with Get and Post methods. The Get method works fine with and without parameters, but the post breaks when I try to add a ...
0
votes
1answer
17 views
Using 2 WebBrowser controls and dealing with HTTPONLY cookies in C#
In my application i have to login using WebBrowser Control and then access site using HttpWebRequest, to achieve this i have to transfer cookies from WebBrowser Control to the CookieContainer of ...
0
votes
0answers
33 views
Send a file and a parameter by POST HttpWebRequest (mode REST, C#, .NET) [duplicate]
I read so many posts about this problem but i never found solution.
I've got a PDF file (Infos.pdf) and the id of this file (id=111).
I want send this at a WebService by POST method.
I think that my ...
0
votes
0answers
8 views
WebRequest.GetRequestStreamAsync() method timesout each time for MNS access token
I am trying to get the access token from MNS for Push notifications and the WebRequest.GetRequestStreamAsync() method timesout each time. Any suggestions?
Reference: ...
0
votes
2answers
41 views
How send a PDF by POST HttpWebRequest in C#
(i'm french, sorry for my english)
I don't find / understand how send a simple PDF file by post request at a webService (REST protocol).
I tried some examples but it's doesn't word. And when i use a , ...
1
vote
0answers
38 views
Thread is running even when I exit app
I'm having a problem with my app with windows embedded (CompactFramework).
I need to connect to internet so I make a dummy request to internet in order to activate the connectivity.
I use this code ...
0
votes
1answer
27 views
HTTPWebRequest won't INSERT null Value
I'm currently working on a Webform for some online business.
Having big problems with HTTPWebrequest.
The function UpdateUserData() has some typical info for update in DataBase. Name, Email, itc.
The ...
0
votes
0answers
13 views
Uploading multiple files to Box
I'm trying to upload multiple files to Box using V2 API. The form data I send looks like:
------------------------------8d0318049cd2fe9
Content-Disposition: form-data; name="folder_id";
0
...