About 589,000 results
Open links in new tab
  1. Make HTTP requests with the HttpClient - .NET | Microsoft Learn

    Mar 9, 2025 · To make an HTTP HEAD request given an HttpClient instance and a Uri object, use the HttpClient.SendAsync method with the HttpMethod type set to HttpMethod.Head:

  2. c# - How to properly make a http web GET request - Stack Overflow

    public string request() { string totalUrl = this.join(id); return this.HttpGet(totalUrl); } protected string join(string s) { return api + type + "/" + s + options; } protected string get(string url) { try { string …

  3. C# HttpClient - creating HTTP requests with HttpClient in C#

    Jul 5, 2023 · C# HttpClient tutorial shows how to create HTTP requests with HttpClient in C#. In the examples, we create simple GET, HEAD, and POST requests.

  4. HTTP Operations GET, POST, PUT and DELETE From .NET Client - C#

    Let's understand the first line, the structure is like this: [Method] [URL] [HTTP Version] Method: It defines the request type. Here the request type is GET. There are many others, like POST, …

  5. Making Web Requests in C# with Examples

    Aug 8, 2024 · When working on C# applications that require interaction with web services or APIs, you often need to send HTTP requests and process the responses. In this blog post, we will …

  6. How to Make HTTP POST Web Request in C# - Delft Stack

    Feb 16, 2024 · We can use the HttpWebRequest.Method = "POST" property to specify that an HTTP web request is a POST request in C#. The following code example shows us how to …

  7. How to make an HTTP POST web request in C# - Dofactory

    Sep 30, 2023 · Learn how to make HTTP POST requests with HttpClient. HttpClient is an API for working with HTTP and is designed to work well with web APIs, REST-based services, and …

  8. Tutorial: Make HTTP requests in a .NET console app - C#

    Learn how to make HTTP requests to a REST web service and deserialize JSON responses. This tutorial creates a .NET console and uses C#.

  9. How to Send an HTTP GET Request in C# Using HttpClient

    5 days ago · Learn how to send HTTP GET requests in C# using HttpClient with our step-by-step guide. Discover best practices, error handling, and practical examples for making web API …

  10. c# - Send HTTP POST request in .NET - Stack Overflow

    Oct 25, 2010 · How can I make an HTTP POST request and send data in the body? There are several ways to perform HTTP GET and POST requests: Available in: .NET Framework 4.5+, …

  11. Some results have been removed
Refresh