{"id":1450,"date":"2018-11-15T10:51:47","date_gmt":"2018-11-15T10:51:47","guid":{"rendered":"http:\/\/blog.briang.org\/?p=1450"},"modified":"2018-11-15T10:57:42","modified_gmt":"2018-11-15T10:57:42","slug":"curl2lwp-convert-curl-command-line-arguments-to-lwp-mechanize-perl-code","status":"publish","type":"post","link":"https:\/\/blog.briang.org\/?p=1450","title":{"rendered":"curl2lwp &#8211; convert Curl command line arguments to LWP \/ Mechanize Perl code"},"content":{"rendered":"<p><a href=\"https:\/\/perlmonks.org\/?node_id=1225811\"><strong>curl2lwp &#8211; convert Curl command line arguments to LWP \/ Mechanize Perl code<\/strong><\/a><\/p>\n<blockquote><p>After inspiration by Your Mother and some slight hacking, I&#8217;m very proud to announce HTTP::Request::FromCurl, together with its companion online site at https:\/\/corion.net\/curl2lwp.psgi. The module and included curl2lwp program allow you to easily convert curl command lines to Perl code that uses LWP::UserAgent resp. WWW::Mechanize.<\/p><\/blockquote>\n<p>See also: <a href=\"https:\/\/perlmonks.org\/?node_id=1225723\">Translate curl to LWP<\/a> [perlmonks]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>curl2lwp &#8211; convert Curl command line arguments to LWP \/ Mechanize Perl code After inspiration by Your Mother and some slight hacking, I&#8217;m very proud to announce HTTP::Request::FromCurl, together with its companion online site at https:\/\/corion.net\/curl2lwp.psgi. The module and included curl2lwp program allow you to easily convert curl command lines to Perl code that uses [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[478,479,482,483,480,481,5,4],"class_list":["post-1450","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-authorcorion","tag-cpanhttp-request-fromcurl","tag-cpanlwp-useragent","tag-cpanwww-mechanize","tag-curl","tag-lwp","tag-perl","tag-perlmonks"],"_links":{"self":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1450"}],"version-history":[{"count":3,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1450\/revisions"}],"predecessor-version":[{"id":1453,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1450\/revisions\/1453"}],"wp:attachment":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}