curl -uUSER:API_KEY https://blog.hatena.ne.jp/user/example.com/atom/entry
curl -X POST -uUSER:API_KEY -H "Content-Type: application/xml" ¥ --data-binary @dat/20180201.xml ¥ https://blog.hatena.ne.jp/user/exmample.com/atom/entry/atom/entry > dat/20180201.xml.log
curl -X PUT -uUSER:API_KEY -H "Content-Type: application/xml" ¥ --data-binary @dat/20180201.xml ¥ $(perl -nle 'print $1 if/link rel="edit" href="(.+?)"/' dat/20180201.xml.log)