From c4efc58f7b1e94e3ed2611d97c68af9215059095 Mon Sep 17 00:00:00 2001 From: maertend Date: Mon, 25 Jul 2016 15:47:10 -0700 Subject: [PATCH] Update readme.md --- demos/rest/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/rest/readme.md b/demos/rest/readme.md index d4980244a..cd7460325 100644 --- a/demos/rest/readme.md +++ b/demos/rest/readme.md @@ -1,7 +1,7 @@ This demo shows interacting with the Github API via Invoke-RestMethod. NOTE: A repo URL must be specified in these scripts and a Github PAT token with access to the repo must be generated and specified -rest.ps1 +rest.ps1: Invoke-RestMethod is used to get the json of a repo as a PowerShell object, the object is then manipulated and the "private" parameter is changed to 'false'. The object is converted back to json formating and Posted back to the repo API @@ -9,5 +9,5 @@ The object is converted back to json formating and Posted back to the repo API The benefit of PS is shown at the end of the script with PS objects. Enabling users to get info on multiple repos and then sort that data as objects. -curlDemo.txt +curlDemo.txt: This shos the equavilent bash commmands to change the private status of a Github repo