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
document.querySelectorAll('[data-purpose="progress-toggle-button"]').forEach((x) => { | |
if (x.checked == true) { | |
x.checked = false; | |
console.log('Completed'); | |
} | |
else { | |
console.log('Incomplete'); | |
} | |
}); |
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
# Run these using Windows PowerShell ISE | |
$Reponse = Invoke-RestMethod -Uri 'https://localhost:44356/api/projects' -Method Get | |
$Reponse | |
$Reponse = Invoke-RestMethod -Uri 'https://localhost:44356/api/projects/12345' -Method Get | |
$Reponse | |
$Reponse = Invoke-RestMethod -Uri 'https://localhost:44356/api/projects' -Method Post | |
$Reponse | |
$Reponse = Invoke-RestMethod -Uri 'https://localhost:44356/api/projects' -Method Put | |
$Reponse | |
$Reponse = Invoke-RestMethod -Uri 'https://localhost:44356/api/projects/12345' -Method Delete |