Last active
March 20, 2018 17:50
-
-
Save delonnewman/6fefff18a89fec4a2af211a99e105465 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AUTH='OAuth oauth_consumer_key="0MR6AA46EH0FRSCHVIR0PH9KKX8",oauth_nonce="sMhmFlY",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1521044097729",oauth_version="1.0a",oauth_signature="f3z97KFOYnIRkNHzQc%2B0Qv%2FQdsI%3D"' | |
| CONTENT_TYPE=application/json | |
| API_URI='https://training.vialivetext.com/api/memberships' | |
| ENDPOINT=hierarchy | |
| curl -XPOST -H "Content-type: $CONTENT_TYPE" -H "Authorization: $AUTH" --data "[]" "$API_URI/$ENDPOINT" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment