Use HTTPS in sample
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Raymond Li 2022-09-10 14:18:17 -04:00
parent 2739c45aff
commit 3cc9b011c3
1 changed files with 2 additions and 2 deletions

View File

@ -214,14 +214,14 @@ curl -V
``` ```
Your should see 'SPNEGO' in the 'Features' section. Your should see 'SPNEGO' in the 'Features' section.
Here's an example of making a request to an endpoint which writes to LDAP: Here's an example of making a request (to add a user) to an endpoint which writes to LDAP:
```sh ```sh
# Get a Kerberos TGT first # Get a Kerberos TGT first
kinit kinit
# Make the request # Make the request
curl --negotiate -u : --service-name ceod --delegation always \ curl --negotiate -u : --service-name ceod --delegation always \
-d '{"uid":"test_1","cn":"Test One","given_name":"Test","sn":"One","program":"Math","terms":["s2021"]}' \ -d '{"uid":"test_1","cn":"Test One","given_name":"Test","sn":"One","program":"Math","terms":["s2021"]}' \
-X POST http://phosphoric-acid:9987/api/members -X POST https://phosphoric-acid:9987/api/members
``` ```
## Packaging ## Packaging