Skip to content

Instantly share code, notes, and snippets.

@krusty
Created May 9, 2013 18:49
Show Gist options
  • Save krusty/5549619 to your computer and use it in GitHub Desktop.
Save krusty/5549619 to your computer and use it in GitHub Desktop.
curl "http://localhost:8000/api/query/" -H "Pragma: no-cache" -H "Origin: http://localhost:8000" -H "Accept-Encoding: gzip,deflate,sdch" -H "Host: localhost:8000" -H "Accept-Language: en-US,en;q=0.8" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31" -H "Content-Type: application/json" -H "Accept: application/json, text/javascript, */*; q=0.01" -H "Cache-Control: no-cache" -H "X-Requested-With: XMLHttpRequest" -H "Cookie: GUID=SXQArq6KqxeZgPKPTjUP" -H "Connection: keep-alive" -H "Referer: http://localhost:8000/static/mvp1.html" -H "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3" --data-binary "{\"age_from\":\"50\",\"age_to\":\"59\",\"income_range\":\"6\",\"networth_range\":\"6\",\"gender\":\"M\",\"state\":\"AK\",\"membership_type\":\"1\",\"membership_status\":\"0\",\"secondary_member_age_from\":\"50\",\"secondary_member_age_to\":\"59\",\"internet_usage_from\":\"1\",\"internet_usage_to\":\"10\",\"completed_school_years_from\":\"14\",\"completed_school_years_to\":\"20\",\"lifestage_segment\":\"5\",\"original_financial_participation_date_from\":\"\",\"original_financial_participation_date_to\":\"\",\"latest_financial_participation_date_from\":\"\",\"latest_financial_participation_date_to\":\"\",\"historical_financial_participation_count_from\":\"\",\"historical_financial_participation_count_to\":\"\",\"current_financial_participation_count_from\":\"\",\"current_financial_participation_count_to\":\"\",\"investment_score_from\":\"1\",\"investment_score_to\":\"3\",\"children_score_from\":\"1\",\"children_score_to\":\"3\",\"webuse_score_from\":\"1\",\"webuse_score_to\":\"3\"}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment