Here’s another fun trick I learned this week: sending HTTP requests with SQL Server. It turns out, we have access to a whole host of OLE automation classes from within SQL Server. The first thing we need to do is enable OLE automation. This is done with the
Once OLE automation is enabled, you will be able to create OLE classes from within your scripts and stored procedures.
This example uses requestb.in for the HTTP target.
You can inspect the request using the inspect page at requestb.in.