Created
April 22, 2016 12:08
-
-
Save kutyel/f479ce25b908c4642df7a2fe21501e67 to your computer and use it in GitHub Desktop.
From Oracle to Google
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
$ sqlplus -s | |
SQL> connect [email protected]/hr | |
SQL> UPDATE employees SET current = false WHERE email = "[email protected]"; | |
SQL> COMMIT; | |
SQL> disconnect | |
SQL> exit | |
$ curl -X POST -H "Content-Type: application/json" \ | |
-d '{ "firstName":"Igor", "lastName":"Minar"}' \ | |
http://google.com/employee/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment