Skip to content

Commit 9fd65cb

Browse files
Update Readme file
1 parent 4e09b9b commit 9fd65cb

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

README.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,28 @@ It's easy to use. just you should install the package on your project from the b
1616

1717
You have **3 ways** to see script result:
1818

19-
**1:Put it in a string variable.**
20-
(e.g. **string curlResult = httpClient.GenerateCurlInString(httpRequestMessage);**)
19+
**1: Put it in a string variable:**
2120

22-
**2:Show to the IDE console**
23-
(e.g. **httpClient.GenerateCurlInConsole(httpRequestMessage);**)
21+
```
22+
string curlScript = httpClient.GenerateCurlInString(httpRequestMessage);
23+
```
2424

25-
- **Notice**: when the curl script was written in the console, maybe your **IDE console** applies **WordWrap** automatically. you should **remove enters** from the script.
25+
**2: Show to the IDE console:**
2626

27-
**3:Write in a file**
28-
(e.g. **httpClient.GenerateCurlInFile(httpRequestMessage);**)
27+
```
28+
httpClient.GenerateCurlInConsole(httpRequestMessage);
29+
```
30+
- **Notice**: when the curl script was written in the console, maybe your **IDE console** applies **WordWrap** automatically.
31+
you should **remove enters** from the script.
32+
- **Notice**: 'config' Parameter is optional.
2933

34+
**3: Write in a file:**
35+
36+
```
37+
httpClient.GenerateCurlInFile(httpRequestMessage);
38+
```
3039

31-
- **Notice**: Parameters of 'requestUri' and 'config' for both of them are optional.
40+
- **Notice**: 'config' Parameter is optional.
3241

3342
**Read more about this extension:**
3443

0 commit comments

Comments
 (0)