-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add request templates for dev and prod use (#29)
* feat: Add request templates for dev and prod use * docs: Update README with request template info
- Loading branch information
Showing
19 changed files
with
57 additions
and
1 deletion.
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,3 @@ | ||
name: default | ||
description: Default GET request with no parameters, returns a random useragent. | ||
url: http://127.0.0.1:8000/api/v1/masq |
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,3 @@ | ||
name: hd | ||
description: Returns header data with random useragent and fixed referer. | ||
url: http://127.0.0.1:8000/api/v1/masq?ua=false&hd=true |
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,3 @@ | ||
name: rf-hd | ||
description: Returns header data with fixed useragent and random referer. | ||
url: http://127.0.0.1:8000/api/v1/masq?ua=false&rf=true&hd=true |
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,3 @@ | ||
name: rf | ||
description: Returns a random referer. | ||
url: http://127.0.0.1:8000/api/v1/masq?ua=false&rf=true |
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,3 @@ | ||
name: ua-hd | ||
description: Returns header data with random useragent and fixed referer. | ||
url: http://127.0.0.1:8000/api/v1/masq?ua=true&hd=true |
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,4 @@ | ||
name: ua-rf-hd-count | ||
description: Returns multiple sets of header data with random useragent and random | ||
referer, as specified by the count param. | ||
url: http://127.0.0.1:8000/api/v1/masq?ua=true&rf=true&hd=true&count=3 |
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,3 @@ | ||
name: ua-rf-hd | ||
description: Returns header data with random useragent and random referer. | ||
url: http://127.0.0.1:8000/api/v1/masq?ua=true&rf=true&hd=true |
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,3 @@ | ||
name: ua-rf | ||
description: Returns random useragent and random referer. | ||
url: http://127.0.0.1:8000/api/v1/masq?ua=true&rf=true |
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,3 @@ | ||
name: ua | ||
description: Returns a random useragent, equivalent to the default with no params. | ||
url: http://127.0.0.1:8000/api/v1/masq?ua=true |
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,3 @@ | ||
name: default | ||
description: Default GET request with no parameters, returns a random useragent. | ||
url: https://masquer.fly.dev/api/v1/masq |
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,3 @@ | ||
name: hd | ||
description: Returns header data with random useragent and fixed referer. | ||
url: https://masquer.fly.dev/api/v1/masq?ua=false&hd=true |
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,3 @@ | ||
name: rf-hd | ||
description: Returns header data with fixed useragent and random referer. | ||
url: https://masquer.fly.dev/api/v1/masq?ua=false&rf=true&hd=true |
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,3 @@ | ||
name: rf | ||
description: Returns a random referer. | ||
url: https://masquer.fly.dev/api/v1/masq?ua=false&rf=true |
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,3 @@ | ||
name: ua-hd | ||
description: Returns header data with random useragent and fixed referer. | ||
url: https://masquer.fly.dev/api/v1/masq?ua=true&hd=true |
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,4 @@ | ||
name: ua-rf-hd-count | ||
description: Returns multiple sets of header data with random useragent and random | ||
referer, as specified by the count param. | ||
url: https://masquer.fly.dev/api/v1/masq?ua=true&rf=true&hd=true&count=3 |
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,3 @@ | ||
name: ua-rf-hd | ||
description: Returns header data with random useragent and random referer. | ||
url: https://masquer.fly.dev/api/v1/masq?ua=true&rf=true&hd=true |
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,3 @@ | ||
name: ua-rf | ||
description: Returns random useragent and random referer. | ||
url: https://masquer.fly.dev/api/v1/masq?ua=true&rf=true |
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,3 @@ | ||
name: ua | ||
description: Returns a random useragent, equivalent to the default with no params. | ||
url: https://masquer.fly.dev/api/v1/masq?ua=true |