Skip to content

Instantly share code, notes, and snippets.

{"aaa": "xxx", "bbb": "yyy", "ccc": "zzz"}
{
"id": 1,
"zeroth": { "c": true },
"first": [
{ "a": 10, "b": 11 },
{ "a": 20, "b": 21 },
{ "a": 30, "b": 31 } ],
"second": [
{ "y": 12 },
{"x": [ 41, 42, 43 ] },
{"outputdata":"aa"}
{"outputdata":"bb"}
{"outputdata":"cc"}
{"outputdata2":"a2"}
{"outputdata2":"b2"}
{"outputdata2":"c2"}
{"foo":"name1"}
{"foo":"name2"}
{"foo":"name3"}
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\"
[{"fairings":null,"links":{"patch":{"small":"https://images2.imgbox.com/fc/58/9UErD3ut_o.png","large":"https://images2.imgbox.com/12/47/6uim8L1a_o.png"},"reddit":{"campaign":"https://new.reddit.com/r/spacex/comments/bd2l28/crs17_launch_campaign_thread/","launch":"https://www.reddit.com/r/spacex/comments/bjsn0v/rspacex_crs17_official_launch_discussion_updates","media":"https://www.reddit.com/r/spacex/comments/bkc4d5/rspacex_crs17_media_thread_videos_images_gifs","recovery":"https://www.reddit.com/r/spacex/comments/bjy7p5/rspacex_crs17_recovery_discussion_updates_thread"},"flickr":{"small":[],"original":["https://live.staticflickr.com/65535/46856594435_206c773b5a_o.jpg","https://live.staticflickr.com/65535/47720639872_284e49381d_o.jpg","https://live.staticflickr.com/65535/46856594755_88f1b22e50_o.jpg","https://live.staticflickr.com/65535/47720639542_1b7c1a71b0_o.jpg","https://live.staticflickr.com/65535/47720639732_e04b2a9ed7_o.jpg","https://live.staticflickr.com/65535/32829382467_087d024428_o.jpg"]},"presskit"