From 7c9fe30ca1f1745e330454ea3c22d3818f880cd3 Mon Sep 17 00:00:00 2001 From: Angry Cuban <39564898+angrycuban13@users.noreply.github.com> Date: Wed, 1 May 2024 16:59:54 -0500 Subject: [PATCH] Update README.md --- Send-ReadarrBooksToKindle/README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Send-ReadarrBooksToKindle/README.md b/Send-ReadarrBooksToKindle/README.md index 6b5e813..66f02ca 100644 --- a/Send-ReadarrBooksToKindle/README.md +++ b/Send-ReadarrBooksToKindle/README.md @@ -35,14 +35,12 @@ I have only tested this script with sending to a Kindle, but if you have a diffe #### API Endpoint 1. Navigate to APIs > Endpoints -1. Click on `Create New Endpoint`. +2. Click on `Create New Endpoint`. 1. On the `URL` field, give it an URL of your choice (e.g. `readarr`). 1. On the `Method` field, make sure to add `POST`. 1. I recommend you leave `GET` enabled as well so you can debug as needed. -1. After the endpoint has been created, click on the `Edit` button and copy/paste the following into the code editor +3. After the endpoint has been created, click on the `Edit` button and copy/paste the following into the code editor - > [!IMPORTANT] - > Make sure to update `YOUR-SCRIPT-NAME-HERE` with the name of the script from the [previous step](#script) ```powershell $readarrWebhookData = ConvertFrom-Json -InputObject $body @@ -54,7 +52,10 @@ I have only tested this script with sending to a Kindle, but if you have a diffe Invoke-PSUScript -Name 'YOUR-SCRIPT-NAME-HERE' -Author $bookAuthor -BookTitle $bookTitle -BookFilePath $bookFilePath -Wait ``` -1. Click `Save` +> [!IMPORTANT] +> Make sure to update `YOUR-SCRIPT-NAME-HERE` with the name of the script from the [previous step](#script) + +4. Click `Save` #### Variables