Skip to content

Instantly share code, notes, and snippets.

@alissapajer
Last active November 12, 2020 19:35
Show Gist options
  • Select an option

  • Save alissapajer/561149ef0b1cde27fa1e414947e0b839 to your computer and use it in GitHub Desktop.

Select an option

Save alissapajer/561149ef0b1cde27fa1e414947e0b839 to your computer and use it in GitHub Desktop.
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/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment