Created
July 9, 2023 13:49
-
-
Save bellons91/10949defe45f187d64449f493606a6f2 to your computer and use it in GitHub Desktop.
Open all endpoints
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
$baseUrl ="https://localhost:44383/api/v1"; | |
$pages = | |
"/league/league-nba", | |
"/season/dir__league-nba", | |
"/season/season-nba-55467", | |
"/team/dir__league-nba", | |
"/team/team-nba-3422", | |
"/player/dir__league-nba", | |
"/player/dir__league-nba/dir__team-nba-3422", | |
"/player/player-nba-996297", | |
"/match/dir__league-nba", | |
"/match/dir__league-nba/dir__season-nba-68176", | |
"/match/dir__league-nba/dir__season-nba-68176/dir__2020-01-11", | |
"/match/match-nba-19097560" | |
; | |
foreach($p in $pages) | |
{ | |
$fullUrl = "$($baseUrl)$($p)"; | |
Invoke-Expression “cmd.exe /C start $($fullUrl)" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment