File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ forge install Recon-Fuzz/solidity-http
10
10
11
11
### Usage
12
12
13
- ### 1. Import the library
13
+ #### 1. Import the library
14
14
15
15
``` solidity
16
16
import {HTTP} from "solidity-http/HTTP.sol";
17
17
```
18
18
19
- ### 2. Build and send your request
19
+ #### 2. Build and send your request
20
20
21
21
Use builder functions to compose your request with headers, body, and query parameters.
22
22
@@ -40,7 +40,7 @@ contract MyScript is Script {
40
40
}
41
41
```
42
42
43
- ### 3. Enable FFI
43
+ #### 3. Enable FFI
44
44
45
45
This library relies on Foundry's [ FFI cheatcode] ( https://book.getfoundry.sh/cheatcodes/ffi.html ) to call external processes. Enable it by:
46
46
@@ -59,7 +59,7 @@ ffi = true
59
59
60
60
---
61
61
62
- ## Requirements
62
+ ### Requirements
63
63
64
64
- Foundry with FFI enabled:
65
65
- Either pass ` --ffi ` to commands (e.g. ` forge test --ffi ` )
You can’t perform that action at this time.
0 commit comments