I’m a newbie to Workflow, the super powerful automation app for iOS that was recently acquired by Apple. I’ve known for a while that there’s some useful things I could do with it, but I haven’t had the time to sit down and play around with it.
Today I did, and my workflow required getting the contents of a URL that uses Basic HTTP Access Authentication. Since it took me a little while to figure out how to do it and didn’t find much help online, I decided to write a post and help the next poor soul to run into this.
The way Basic Access Authentication works is that the client (usually a web browser but in my case the Workflow app) sends the user name and password as part of the HTTP headers.
The nice little explanation on HttpWatch also has a handy little demo. You go this URL and use “httpwatch” as user name and anything you want as password. It displays an image containing the info you entered.
I created a workflow that hard codes the user name, asks you to enter a password, and then gets the image and shows it. It should be easy enough to use a starting point for your own workflow. You can download it here:
Shlomit took me last week to see Chris Rock at the Bass Concert Hall. I expected the show to be very good, but it exceeded my expectations.
I find it interesting to see how the topics of his jokes have changed as he (unlike me) has aged. Lots of stuff about raising kids, divorce. He spent a good twenty minutes on jokes about… mortgages! Less than what’s considered average nowadays about politics, a good thing.
You will see zero photos about the show because they had the most extreme no-phone policy I’ve ever seen, forcing everyone at the entrance of the theater to put phones and smart watches in an opaque pouch that you can only open with a magnet, no unlike the security tags on clothing at stores.
I ran my fifth Capitol 10K this morning. Right after I crossed the finish line someone asked me: “How did you do?”. “I don’t know, haven’t checked” I replied. “But how did you feel?”…
“I felt like crap”
Which is not a bad thing, in my opinion. If I didn’t feel like crap, wouldn’t that mean that I didn’t push myself hard enough?
That’s right! I’m a year older but 6 seconds faster.
Thank you to my family, my coach, and to all my sponsors for their support.
A couple of months ago, I was made a very interesting offer: Move to Bangalore, India, in order to be the Technical Lead of a new R&D team being formed at the office over there.
This will be a three-year stint that could be extended, starting in the fall. We’re very excited and looking forward to eating lots of Indian food.
Further information on exact date, farewell party, and so on will follow.