Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

httpwebrequest

Send HTTP POST request in .NET

by IT Nursery

There are several ways to perform HTTP GET and POST requests: Method A: HttpClient (Preferred) Available in: .NET Framework 4.5+, .NET Standard 1.1+, … Read more

Tags .net, c, httprequest, httpwebrequest, post

Get host domain from URL?

by IT Nursery

how to get host domain from a string URL? GetDomain has 1 input “URL”, 1 Output “Domain” Example1 INPUT: http://support.domain.com/default.aspx?id=12345 OUTPUT: support.domain.com Example2 … Read more

Tags c, httpwebrequest, string, uri, url

What difference is there between WebClient and HTTPWebRequest classes in .NET?

by IT Nursery

What difference is there between the WebClient and the HttpWebRequest classes in .NET? They both do very similar things. In fact, why weren’t … Read more

Tags .net, c, httpwebrequest, webclient

What is the difference between HTTP status code 200 (cache) vs status code 304?

by IT Nursery

I’m using the Google “Page Speed” plug-in for Firefox to access my web site. Some of the components on my page is indicated … Read more

Tags cache-control, caching, http, http-status-codes, httpwebrequest

.Net HttpWebRequest.GetResponse() raises exception when http status code 400 (bad request) is returned

by IT Nursery

I am in a situation where when I get an HTTP 400 code from the server, it is a completely legal way of … Read more

Tags .net, httpwebrequest

Pure JavaScript Send POST Data Without a Form

by IT Nursery

Is there a way to send data using the POST method without a form and without refreshing the page using only pure JavaScript … Read more

Tags http-post, httpwebrequest, javascript, post, xmlhttprequest

How to post JSON to a server using C#?

by IT Nursery

Here’s the code I’m using: // create a request HttpWebRequest request = (HttpWebRequest) WebRequest.Create(url); request.KeepAlive = false; request.ProtocolVersion = HttpVersion.Version10; request.Method = “POST”; … Read more

Tags c, httpwebrequest, json, post

Upload files with HTTPWebrequest (multipart/form-data)

by IT Nursery

Is there any class, library or some piece of code which will help me to upload files with HTTPWebrequest? Edit 2: I do … Read more

Tags .net, httpwebrequest, upload

Getting Http Status code number (200, 301, 404, etc.) from HttpWebRequest and HttpWebResponse

by IT Nursery

I am trying to get the HTTP status code number from the HttpWebResponse object returned from a HttpWebRequest. I was hoping to get … Read more

Tags .net, c, http, httpwebrequest

What does %5B and %5D in POST requests stand for?

by IT Nursery

I’m trying to write a Java class to log in to a certain website. The data sent in the POST request to log … Read more

Tags httpwebrequest, java, post
Older posts
Page1 Page2 Next →

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery
x
x