Skip to content

Commit bbbcc1c

Browse files
Update README.md
1 parent 3fa506a commit bbbcc1c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

README.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@ You have **3 ways** to see script result:
2828
**1- Put it in a string variable:**
2929

3030
```cs
31-
string curlScript = httpClient.GenerateCurlInString(httpRequestMessage);
31+
string curlScript = httpClientInstance.GenerateCurlInString(httpRequestMessage);
3232
```
3333

3434
**2- Show to the IDE console:**
3535

3636
```cs
37-
httpClient.GenerateCurlInConsole(httpRequestMessage);
37+
httpClientInstance.GenerateCurlInConsole(httpRequestMessage);
3838
```
3939
- **Notice**: when the curl script was written in the console, maybe your **IDE console** applies **WordWrap** automatically.
4040
you should **remove enters** from the script.
41-
- **Notice**: The 'config' Parameter is optional.
41+
- **Notice**: You can set specific configurations for your result in the optional **second parameter**.
4242

4343
**3- Write in a file:**
4444

4545
```cs
46-
httpClient.GenerateCurlInFile(httpRequestMessage);
46+
httpClientInstance.GenerateCurlInFile(httpRequestMessage);
4747
```
4848

49-
- **Notice**: The 'config' Parameter is optional.
49+
- **Notice**: You can set specific configurations for your result in the optional **second parameter**.
5050

5151
**Read more about this extension:**
5252

@@ -64,9 +64,7 @@ also, I will be extremely happy if you contribute to the implementation and impr
6464

6565
If you like this project, learn something, or are using it in your applications, please give it a star. Thanks!
6666

67-
## **How to use HttpClientToCurlGenerator Extensions**:
68-
69-
**You can see more samples in the FunctionalTest Directory.**
67+
## **How to use HttpClientToCurl Extensions**:
7068

7169
### **Post Method** sample code (it will be written in the **console**):
7270
```cs

0 commit comments

Comments
 (0)