Skip to content

Andy Loree

SQL Server, PowerShell, Homebrew, Food, Randomness

Pages

  • About
  • Arcade
  • Contact

Recent Posts

  • Want to learn about Azure Data Studio (formerly SQL Operations Studio)
  • Presenting at the SQL Server PASS Detroit User Group in November
  • SQL Saturday Denver 2018
  • Third times the charm…back at SQL Saturday Indy and Louisville three years in a row!
  • Backup VisualSVN using PowerShell

Categories

  • Cycling
  • Food Pic
  • Homebrew
  • PowerShell
  • Presenting
  • Programming
  • Running
  • SQL Server

Recently Read

Archives

  • November 2018
  • October 2018
  • August 2018
  • July 2018
  • April 2018
  • March 2018
  • June 2017
  • April 2017
  • March 2017
  • August 2016
  • June 2016
  • August 2015
  • May 2015
  • February 2015
  • August 2014
  • February 2014
  • January 2014
  • November 2013
  • August 2013
  • November 2012
  • August 2012
  • June 2012
  • April 2012
  • March 2012
  • February 2012
  • September 2011
  • April 2011
  • March 2011
  • February 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • October 2009
  • May 2004
  • September 2003

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Month: August 2015

Testing Restful APIs with Curl

Ultra simple way to test a JSON API POST response using curl

1
curl -X POST -H "Content-Type: application/json" -d { \"title\\": \"value1\" }" http://apisomewhere:8080/api/something

Watch out for single quotes, they don’t pass well in windows

Posted on 2015-08-29Categories ProgrammingLeave a comment on Testing Restful APIs with Curl
Proudly powered by WordPress