{"id":860,"date":"2024-02-24T22:05:36","date_gmt":"2024-02-24T22:05:36","guid":{"rendered":"https:\/\/lavenhamit.uk\/wrdprss\/?p=860"},"modified":"2024-02-26T16:31:19","modified_gmt":"2024-02-26T16:31:19","slug":"using-curl-on-the-windows-command-line","status":"publish","type":"post","link":"https:\/\/lavenhamit.uk\/wrdprss\/?p=860","title":{"rendered":"Windows cURL on the command line"},"content":{"rendered":"\n<p>Command line and scripting tool for transferring data with URLs see the website <a href=\"https:\/\/curl.se\/\">Curl.se<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -L -A \"Mozilla\" http:\/\/website.com\n\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">This follows re-directs and uses a dummy header to anticipate 406 Not Acceptable errors then returns the page content, you can use a full header string to represent other browsers<\/mark>\n<\/code><\/pre>\n\n\n\n<p>This YouTube video is presented by the cURL creator<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"using curl better - with curl creator Daniel Stenberg\" width=\"625\" height=\"352\" src=\"https:\/\/www.youtube.com\/embed\/I6id1Y0YuNk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Command line and scripting tool for transferring data with URLs see the website Curl.se This YouTube video is presented by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,103],"tags":[88,102],"class_list":["post-860","post","type-post","status-publish","format-standard","hentry","category-general-tips-and-advice","category-windows-commands","tag-command-line","tag-curl"],"_links":{"self":[{"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/posts\/860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=860"}],"version-history":[{"count":7,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/posts\/860\/revisions"}],"predecessor-version":[{"id":872,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/posts\/860\/revisions\/872"}],"wp:attachment":[{"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}