35
edits
| Line 25: | Line 25: | ||
Open Shortcuts, tap + to create a new shortcut, and name it something like “sudoroom Door.” You’ll add four actions, in order. To add an action, tap the search bar at the bottom of the screen and type its name. | Open Shortcuts, tap + to create a new shortcut, and name it something like “sudoroom Door.” You’ll add four actions, in order. To add an action, tap the search bar at the bottom of the screen and type its name. | ||
== Step 1: == | |||
Add a Text action. Type the username, a colon, and the password, all on one line with no spaces: | Add a Text action. Type the username, a colon, and the password, all on one line with no spaces: | ||
| Line 32: | Line 32: | ||
[[File:1 text action.png|frame|left]] | [[File:1 text action.png|frame|left]] | ||
== Step 2: == | |||
Encode: convert it to Base64 | Encode: convert it to Base64 | ||
| Line 40: | Line 40: | ||
== Step 3: == | |||
Set Variable: name the result b64creds | Set Variable: name the result b64creds | ||
| Line 47: | Line 47: | ||
[[File:3 set variable.png|frame|left]] | [[File:3 set variable.png|frame|left]] | ||
== Step 4: == | |||
Get Contents of URL: send the request | Get Contents of URL: send the request | ||
edits