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
@@ -39,7 +39,7 @@ contract MyScript is Script {
39
39
}
40
40
```
41
41
42
- ### 3. Enable FFI
42
+ #### 3. Enable FFI
43
43
44
44
This library relies on Foundry's [ FFI cheatcode] ( https://book.getfoundry.sh/cheatcodes/ffi.html ) to call external processes. Enable it by:
45
45
@@ -58,7 +58,7 @@ ffi = true
58
58
59
59
---
60
60
61
- ## Requirements
61
+ ### Requirements
62
62
63
63
- Foundry with FFI enabled:
64
64
- Either pass ` --ffi ` to commands (e.g. ` forge test --ffi ` )
You can’t perform that action at this time.
0 commit comments