Created
August 3, 2017 20:46
-
-
Save SerkanSipahi/560305e14e89a08a27adf74ad070c91a to your computer and use it in GitHub Desktop.
This file contains 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
00000000 63 75 72 6c 20 2d 58 20 50 55 54 20 68 74 74 70 |curl -X PUT http| | |
00000010 3a 2f 2f 6c 6f 63 61 6c 68 6f 73 74 3a 35 39 38 |://localhost:598| | |
00000020 34 2f 5f 75 73 65 72 73 2f 6f 72 67 2e 63 6f 75 |4/_users/org.cou| | |
00000030 63 68 64 62 2e 75 73 65 72 3a 66 6f 6f 20 2d 48 |chdb.user:foo -H| | |
00000040 20 22 41 63 63 65 70 74 3a 20 61 70 70 6c 69 63 | "Accept: applic| | |
00000050 61 74 69 6f 6e 2f 6a 73 6f 6e 22 20 2d 48 20 22 |ation/json" -H "| | |
00000060 43 6f 6e 74 65 6e 74 2d 54 79 70 65 20 61 70 70 |Content-Type app| | |
00000070 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 22 20 2d |lication/json" -| | |
00000080 48 20 22 49 66 2d 4d 61 74 63 68 3a 20 33 2d 63 |H "If-Match: 3-c| | |
00000090 39 38 39 63 61 66 65 62 32 63 31 61 34 37 61 32 |989cafeb2c1a47a2| | |
000000a0 37 61 34 32 35 32 39 30 61 33 66 64 38 39 30 22 |7a425290a3fd890"| | |
000000b0 20 2d 64 20 5c 7b 6e 61 6d 65 3a 20 66 6f 6f 2c | -d \{name: foo,| | |
000000c0 20 70 61 73 73 77 6f 72 64 3a 20 6f 72 61 6e 67 | password: orang| | |
000000d0 65 2c 20 72 6f 6c 65 73 3a 20 5b 5d 2c 20 74 79 |e, roles: [], ty| | |
000000e0 70 65 3a 20 75 73 65 72 7d 27 0a |pe: user}'.| | |
000000eb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment