@@ -669,33 +669,33 @@ public class NotifyCheckUrlsCommand(IHttpClientFactory clientFactory)
669
669
` ReplyTo ` can be any URL which by default will have the result POST'ed back to the URL with a JSON
670
670
Content-Type. Typically URLs will contain a reference Id so external clients can correlate a callback
671
671
with the internal process that initiated the job. If the callback API is publicly available you'll
672
- want to use an internal Id that can't be guessed so the callback can't be spoofed like a Guid, e.g:
672
+ want to use an internal Id that can't be guessed so the callback can't be spoofed, like a Guid, e.g:
673
673
674
674
` $"https://api.example.com?refId={RefId}" `
675
675
676
- If needed the callback URL can be customized on how the HTTP Request is sent:
676
+ If needed the callback URL can be customized on how the HTTP Request callback is sent.
677
677
678
678
If the URL contains a space, the text before the space is treated as the HTTP method:
679
679
680
680
` "PUT https://api.example.com" `
681
681
682
- If the auth part contains a colon :, it's treated as Basic Auth.
682
+ If the auth part contains a colon ` : ` it's treated as Basic Auth:
683
683
684
684
` "username:password@https://api.example.com" `
685
685
686
- If name starts with ' http.' sends a HTTP Header
686
+ If name starts with ` http. ` sends a HTTP Header
687
687
688
688
` "http.X-API-Key:myApiKey@https://api.example.com" `
689
689
690
- Otherwise used as Bearer Token:
690
+ Otherwise it's sent as a Bearer Token:
691
691
692
692
` "myToken123@https://api.example.com" `
693
693
694
- Bearer Token or HTTP Headers starting with '$' is substituted with Environment Variable if exists
694
+ Bearer Token or HTTP Headers starting with ` $ ` is substituted with Environment Variable if exists:
695
695
696
696
` "$API_TOKEN@https://api.example.com" `
697
697
698
- When needed headers, passwords and tokens can be URL encoded if they contain any delimiter characters.
698
+ When needed headers, passwords and tokens can be URL encoded if they contain any delimiter characters.
699
699
700
700
## Implementing Commands
701
701
0 commit comments