Use HTTPS in sample
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2739c45aff
commit
3cc9b011c3
|
@ -214,14 +214,14 @@ curl -V
|
|||
```
|
||||
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
|
||||
# Get a Kerberos TGT first
|
||||
kinit
|
||||
# Make the request
|
||||
curl --negotiate -u : --service-name ceod --delegation always \
|
||||
-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
|
||||
|
|
Loading…
Reference in New Issue