Last active
November 12, 2020 19:35
-
-
Save alissapajer/561149ef0b1cde27fa1e414947e0b839 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
curl -X POST -H "Content-Type: application/vnd.precog.destination; version=1" -d "{\"name\": \"sqlserver precogtest schema foo create\", \"type\": {\"name\": \"sql-server\", \"version\": 1}, \"config\": {\"schema\": \"foo\", \"writeMode\": \"create\", \"connection\": {\"jdbcUrl\":\"jdbc:sqlserver://localhost:1433;user=SA;password=%3CYourStrong%40Passw0rd%3E;database=precogtest\"}}}" "http://localhost:55932/api/destination/" | |
curl -X POST -H "Content-Type: application/vnd.precog.destination; version=1" -d "{\"name\": \"sqlserver precogtest schema foo create\", \"type\": {\"name\": \"sql-server\", \"version\": 1}, \"config\": {\"schema\": \"foo\", \"writeMode\": \"create\", \"connection\": {\"jdbcUrl\":\"jdbc:sqlserver://localhost:1433;user=SA;password=<YourStrong@Passw0rd>;database=precogtest\"}}}" "http://localhost:55932/api/destination/" | |
curl -X POST -H "Content-Type: application/vnd.precog.destination; version=1" -d "{\"name\": \"sqlserver precogtest schema foo create\", \"type\": {\"name\": \"sql-server\", \"version\": 1}, \"config\": {\"schema\": \"foo\", \"writeMode\": \"create\", \"connection\": {\"jdbcUrl\":\"jdbc:sqlserver://localhost:1433;user=SA;password=<YourStrong@Passw0rd>;database=precogtest\"}}}" "http://localhost:55932/api/destination/" | |
curl -X POST -H "Content-Type: application/vnd.precog.destination; version=1" -d "{\"name\": \"sqlserver precogtest schema foo create\", \"type\": {\"name\": \"sql-server\", \"version\": 1}, \"config\": {\"schema\": \"foo\", \"writeMode\": \"create\", \"connection\": {\"jdbcUrl\":\"jdbc:sqlserver://localhost:1433;user=SA;password=%3CYourStrong@Passw0rd%3E;database=precogtest\"}}}" "http://localhost:55932/api/destination/" | |
sudo docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Mypassw0rd" -p 1433:1433 --name sql5 -h sql5 -d mcr.microsoft.com/mssql/server:2019-latest | |
curl -X POST -H "Content-Type: application/vnd.precog.destination; version=1" -d "{\"name\": \"sqlserver precogtest schema foo create\", \"type\": {\"name\": \"sql-server\", \"version\": 1}, \"config\": {\"schema\": \"foo\", \"writeMode\": \"create\", \"connection\": {\"jdbcUrl\":\"jdbc:sqlserver://localhost:1433;user=SA;password=Mypassw0rd\"}}}" "http://localhost:55932/api/destination/" | |
curl -X POST -H "Content-Type: application/vnd.precog.destination; version=1" -d "{\"name\": \"sqlserver precogtest schema foo create\", \"type\": {\"name\": \"sql-server\", \"version\": 1}, \"config\": {\"schema\": \"foo\", \"writeMode\": \"create\", \"connection\": {\"jdbcUrl\":\"jdbc:sqlserver://0.0.0.0:1433;user=SA;password=Mypassw0rd\"}}}" "http://localhost:55932/api/destination/" | |
curl -X POST -H "Content-Type: application/vnd.precog.destination; version=1" -d "{\"name\": \"sqlserver precogtest schema foo create\", \"type\": {\"name\": \"sql-server\", \"version\": 1}, \"config\": {\"schema\": \"foo\", \"writeMode\": \"create\", \"connection\": {\"jdbcUrl\":\"jdbc:sqlserver://host.docker.internal:1433;user=SA;password=Mypassw0rd\"}}}" "http://localhost:55932/api/destination/" | |
curl -X POST -H "Content-Type: application/vnd.precog.destination; version=1" -d "{\"name\": \"sqlserver precogtest schema foo create\", \"type\": {\"name\": \"sql-server\", \"version\": 1}, \"config\": {\"schema\": \"foo\", \"writeMode\": \"create\", \"connection\": {\"jdbcUrl\":\"jdbc:sqlserver://sql5:1433;user=SA;password=Mypassw0rd\"}}}" "http://localhost:55932/api/destination/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment