File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ $ curl -L 'https://<em>hostname</em>:<em>admin_port</em>/setup/api?api_key=<em>y
186186You can also use standard HTTP authentication to send this token. For example:
187187
188188``` shell
189- $ curl -L ' https:// api_key:<em>your-amazing-password</em>@ <em>hostname</em>:<em>admin_port</em>/setup/api'
189+ $ curl -L -u " api_key:<em>your-amazing-password</em>" ' https:// <em>hostname</em>:<em>admin_port</em>/setup/api'
190190```
191191
192192{% for operation in currentRestOperations %}
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ api_url_code: >-
225225 {% ifversion fpt or ghec %}https://api.github.com{% elsif ghes %}http(s)://[hostname]/api/v3{% elsif ghae %}https://[hostname]/api/v3{% endif %}
226226# Use this inside command-line code blocks
227227graphql_url_pre : >-
228- {% ifversion fpt or ghec %}https://api.github.com/graphql{% elsif ghes %}http(s)://<em>[hostname]</em>/api/graphql{% elsif ghae %}https://api. <em>[hostname]</em>/graphql{% endif %}
228+ {% ifversion fpt or ghec %}https://api.github.com/graphql{% elsif ghes %}http(s)://<em>[hostname]</em>/api/graphql{% elsif ghae %}https://<em>[hostname]</em>/api /graphql{% endif %}
229229# Use this all other code blocks
230230graphql_url_code : >-
231- {% ifversion fpt or ghec %}https://api.github.com/graphql{% elsif ghes %}http(s)://[hostname]/api/graphql{% elsif ghae %}https://api. [hostname]/graphql{% endif %}
231+ {% ifversion fpt or ghec %}https://api.github.com/graphql{% elsif ghes %}http(s)://[hostname]/api/graphql{% elsif ghae %}https://[hostname]/api /graphql{% endif %}
You can’t perform that action at this time.
0 commit comments