From cbb04eae105aaef655a5e3ec35d9a252df576672 Mon Sep 17 00:00:00 2001 From: Amin Golmahalleh <41530887+amingolmahalle@users.noreply.github.com> Date: Fri, 31 Jan 2025 13:23:36 +0330 Subject: [PATCH] Update README.md closes #48 --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a302ee3..460c6c8 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,15 @@ httpClientInstance.GenerateCurlInFile(httpRequestMessage); - **Notice**: You can set specific configurations for your result in the optional **second parameter**. +:rocket: :rocket: :rocket: +___ +*Additionally*, there is another overload option for adding everything as plain: +```cs +httpClientInstance.GenerateCurlInString(yourHttpMethod, "yourRequestUri", "yourHeader", "yourContent"); +``` +:fire: +___ + **Read more about this extension:** [English Article](https://www.c-sharpcorner.com/article/how-to-generate-curl-script-of-the-httpclient-in-net/) @@ -55,8 +64,8 @@ httpClientInstance.GenerateCurlInFile(httpRequestMessage); [Persian Article](https://vrgl.ir/FE5s4) -Please let me know if you have any feedback and your solution to improve the code and also if you find a problem. -also, I will be extremely happy if you contribute to the implementation and improvement of the project. +Please let me know if you have any feedback and your solution to improve the code also if you find a problem. +Also, I would be extremely happy if you could contribute to the implementation and improvement of the project. [Gmail Address](mailto:amin.golmahalle@gmail.com) @@ -395,6 +404,8 @@ httpClient.GenerateCurlInFile( **You can see more samples in the Functional Tests Directory.** +[More Samples](https://github.com/amingolmahalle/HttpClientToCurlGenerator/tree/master/tests/HttpClientToCurlGeneratorTest/FunctionalTest) + I hope you enjoy this extension in your projects. ### All Thanks to Our Contributors: