-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,15 +48,24 @@ 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/) | ||
|
||
[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:[email protected]) | ||
|
||
|
@@ -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: | ||
|