-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JSON request payload from file, fileinput refactoring
- Loading branch information
Showing
7 changed files
with
151 additions
and
23 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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Output demo/attach-file.gif | ||
|
||
Set Shell "bash" | ||
Set FontSize 16 | ||
Set Padding 2 | ||
Set Margin 2 | ||
Set Width 1280 | ||
Set Height 1024 | ||
Set Framerate 60 | ||
Set TypingSpeed 150ms | ||
Set PlaybackSpeed 0.4 | ||
Set CursorBlink false | ||
|
||
Require rhttp | ||
Type "rhttp" Enter | ||
|
||
Sleep 3 | ||
Ctrl + f | ||
Copy "POST" Paste Enter | ||
Ctrl + p | ||
Copy "demo/payload.json" | ||
Paste | ||
Sleep 1 | ||
Enter 2 | ||
Backspace 9 | ||
Copy "reqres.in" Paste Enter | ||
Copy "/api/users" Paste Enter | ||
Enter 8 Space | ||
Enter Space | ||
Ctrl + g | ||
Sleep 3 | ||
PageDown | ||
Sleep 3 | ||
PageUp | ||
Ctrl + q |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Purchase": [ | ||
{ | ||
"Product": { | ||
"id": 1, | ||
"name": "Bubble Gum", | ||
"cost": 7.52 | ||
}, | ||
"Seller": { | ||
"id": 101, | ||
"name": "Kurt", | ||
"rating": 4.8, | ||
"soldItems": 2145 | ||
} | ||
} | ||
] | ||
} |
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
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
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
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