October 31, 2011

Visit the Indian Railway's official site for dating advice

I was reading this post (http://mindprince.blogspot.com/2011/10/state-of-railway-e-ticketing-in-india.html) by Rohit Agarwal and happened to check out the official site for the Indian Railway (which is a public enterprise).

And what do I see there? Ads for dating services and Penny Auctions!! Last I checked, the Indian Railways was one of the most profitable ventures in the pubic enterprises in India. What gives? Here’s a screenshot for proof 🙂

HOW TO : Check web services using curl

Quick note for myself to check web services using curl ([L/U]nix utility to play with http(s) traffic)

[code] curl https://URL_TO_TEST –insecure –trace-ascii debug.txt [/code]

Comments on options :
–insecure is used if you are testing web services served over SSL using self signed certs
–trace-ascii dumps all traffic between the client (curl in this case) and the server in human readable format