|
|
|
@ -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 |
|
|
|
|