The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
23 views

Jersey Restful Testing with Junit

I am testing a DELETE verb in the following way which seems to work just fine. @Test public void testDelete() throws Exception { WebResource webResourceTest = ...
1
vote
2answers
92 views

C# WebResponse Stream loosing bytes?

So I have a function like so: private String SendRequest(String jsonRequest) { WebRequest webRequest = WebRequest.Create(_url); byte[] paramBytes = ...
1
vote
2answers
41 views

Decoding a response c#

I'm developing some API for testing, and I have a problem when I make a webrequest and especially when i retrieve the webresponse. I use this code: string request = ...
0
votes
0answers
27 views

WebRequest works in WPF application, but not in MVC application?

So, I am attempting to write an MVC application using some code I wrote from my WPF application. The below code is used in both. System.Net.WebRequest req = System.Net.WebRequest.Create(URI); ...
0
votes
0answers
22 views

c# WebResponse Encoding

I am writing a C# application to download html page, and present it to the user in a form. My problem is that I've encoding issues when I am get the html content. After many search, I perform this ...
0
votes
1answer
237 views

reading files in subfolders in directory c# streamreader

I need to find all files and all subfolders in a directory. I am omitting the FtpWebRequest. Here is what I have written so far: private string[] fileList () { StringBuilder result = new ...
0
votes
0answers
164 views

Webrequest/Webresponse dont works with WP7, but with WP8 and Windows 8

i have the following problem: I have a webservice which communicates over a SOAPMessage. When i debug the application on WP7 device (or in emulator), i get a System.Net.Webexception with "The remote ...
0
votes
1answer
105 views

Webview only showing raw HTML text on some pages

I am working on a project where we are interested in intercepting some HTTP traffic from a WebView, then attach some extra headers to the requests and then get a return back and display it in the ...
0
votes
0answers
51 views

Continuous calls to a URL causing exception to occur : The remote server returned an error: (500) Internal Server Error.

Following is the code snippet which i am trying to execute for an application i need. I am logging the couts till which the server is not throwing exception But the counter (i) which i have provided ...
0
votes
1answer
60 views

Responding to a WebRequest

I have created a simple XML Request on test.aspx page. System.Net.WebRequest req = System.Net.WebRequest.Create("http://server.loc/rq.aspx"); req.ContentType = "text/xml"; ...
0
votes
0answers
73 views

Checking a URL if it is reachable throws a ProtocolError

I am programming an Application, that checks all your favorites in IE. The application should give some more options, but they are not relevant at this point. Reading a specific URL of a Bookmark ...
0
votes
1answer
485 views

URL works in Browser but not get response from web Client or Web Request

I have an issue regarding response from server. (returns 403 forbidden). When I am checking the same url in browser I can see the the page. I have written the below code for getting response. ...
0
votes
0answers
104 views

Add Data to WebResponse

I sent some data by webrequest POST method. I know how to catch and modify the data, but I can't put it back to response and send it back to the client. I tried 4 ways to do it, but nothing worked. ...
1
vote
1answer
196 views

Getting error response using web request

I am using below code for send XML file to server, if I upload adduser.xml (this is using for adding users) I am getting success response, but for deleteuser.xml (this is user for delete the user) I ...
0
votes
2answers
180 views

HttpWebRequest and HttpWebResponse

I am trying to get the Response string by using C#'s WebRequest and WebResponse classes. It pulls the string but some part such as forms are missing from response.But when I open the same URL in ...

1 2 3 4 5
15 30 50 per page