make tumblr api call http/https agnostic