{"id":64085,"date":"2024-07-02T03:01:29","date_gmt":"2024-07-01T17:01:29","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=64085"},"modified":"2024-07-02T15:18:20","modified_gmt":"2024-07-02T05:18:20","slug":"curl-http-request-methods-tool-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/curl-http-request-methods-tool-tutorial\/","title":{"rendered":"Curl HTTP Request Methods Tool Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/GeoChart\/image_chart.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Curl HTTP Request Methods Tool Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/http_method_tool.jpg\" title=\"Curl HTTP Request Methods Tool Tutorial\"  style=\"float:left;\"  \/><\/a><p class=\"wp-caption-text\">Curl HTTP Request Methods Tool Tutorial<\/p><\/div>\n<p>We definitely didn&#8217;t see coming the way the previous <a title='Curl HTTP Request Methods Querying Primer Tutorial' href='#chttprmqpt'>Curl HTTP Request Methods Querying Primer Tutorial<\/a>&#8216;s &#8230;<\/p>\n<ul>\n<li>proof of concept Curl HTTP Request Methods first draft PHP web application &#8230; could turn out, today &#8230;<\/li>\n<li>to become a tool for all of our &#8230;\n<ol>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/GeoChart\/image_chart.php-----------------------GETME\">changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/GeoChart\/image_chart.php-----------------------GETMEGETME\">image_chart.php<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/GeoChart\/image_chart.php\">Google Charts Image Chart Map Chart interfacer<\/a> &#8230; and &#8230;<\/li>\n<li><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_venn.html------------------------GETME\">changed<\/a> <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_venn.html------------------------GETME\">latest draft image_venn.html<\/a> <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Charts<\/a> <a target=_blank title='Google Charts Image Chart' href='https:\/\/developers.google.com\/chart\/image\/docs\/gallery\/chart_gall'>Image Chart<\/a>  interfacing <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/image_venn.html\">web application<\/a> &#8230; and &#8230;<\/li>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/regions_via_countries.html--------------------------------GETME\">changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/regions_via_countries.html--------------------------------GETME\">latest draft<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/regions_via_countries.html\">Region Picker<\/a><\/li>\n<\/ol>\n<p> &#8230; in a variety of ways, so as to use it (as a tool) to determine whether Google Charts Image Charts are active (though unlikely, because they are deprecated)\n<\/li>\n<\/ul>\n<p>So, if Image Charts are deprecated, why bother?  As Lleyton would say &#8230; come on!   We live in hope!<\/p>\n<p>And we like keeping the user informed, where possible.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/curl-http-request-methods-tool-tutorial\/'>Curl HTTP Request Methods Tool Tutorial<\/a>.<\/p-->\n<hr>\n<p id='chttprmqpt'>Previous relevant <a target=_blank title='Curl HTTP Request Methods Querying Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/curl-http-request-methods-querying-primer-tutorial\/'>Curl HTTP Request Methods Querying Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/http_methods.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Curl HTTP Request Methods Querying Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/http_methods.jpg\" title=\"Curl HTTP Request Methods Querying Primer Tutorial\"  style=\"float:left;\"  \/><\/a><p class=\"wp-caption-text\">Curl HTTP Request Methods Querying Primer Tutorial<\/p><\/div>\n<p>We&#8217;re not allowed to start a blog posting with &#8220;Did you know?&#8221; &#8230; that would be just so bad?!<\/p>\n<p>But &#8230; <b><i>Did you know?<\/i><\/b><\/p>\n<p>That wonderful <a target=_blank title='PHP information from Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/Curl_%28programming_language%29'>curl<\/a> tool can help you &#8230; <span><sup>&#8600;&#65039;<\/sup><\/span> &#128105;&#127996;&#8205;&#128187; <span><sup>&#8601;&#65039;<\/sup><\/span> &#8230; yes, you, find out the list of <a target=_blank title='HTTP Request Methods' href='https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Methods'>HTTP Request Methods<\/a> available at a website of interest &#8230;<\/p>\n<ul>\n<li>from the <font size=1>web server<\/font> <font color=blue>command<\/font> line<br \/>\n<code><br \/>\nuser@Users-Air htdocs % <font color=blue>curl -X OPTIONS https:\/\/www.rjmprogramming.com.au -i<\/font><br \/>\nHTTP\/1.1 200 OK<br \/>\nDate: Wed, 22 May 2024 00:09:44 GMT<br \/>\nServer: Apache\/2.2.29 (Unix) mod_ssl\/2.2.29 OpenSSL\/1.0.1e-fips mod_bwlimited\/1.4<br \/>\nAllow: GET,HEAD,POST,OPTIONS,TRACE<br \/>\nContent-Length: 0<br \/>\nConnection: close<br \/>\nContent-Type: text\/html<br \/>\n<br \/>\nuser@Users-Air htdocs %<br \/>\n<\/code>\n<\/li>\n<li>via PHP <a target=_blank title='PHP shell_exec() method information' href='http:\/\/php.net\/manual\/en\/function.shell-exec.php'>shell_exec<\/a> used in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/http_methods.php_GETME\">http_methods.php<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/http_methods.php\">web application<\/a> &#8230; for instance &#8230;<br \/>\n<iframe style=\"width:100%;height:900px;\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/http_methods.php\"><\/iframe>\n<\/li>\n<\/ul>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d63684' onclick='var dv=document.getElementById(\"d63684\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/curl\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d63684' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d64085' onclick='var dv=document.getElementById(\"d64085\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/tool\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d64085' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We definitely didn&#8217;t see coming the way the previous Curl HTTP Request Methods Querying Primer Tutorial&#8216;s &#8230; proof of concept Curl HTTP Request Methods first draft PHP web application &#8230; could turn out, today &#8230; to become a tool for &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/curl-http-request-methods-tool-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,14,37],"tags":[88,284,4650,1852,2985,4077,4816,519,576,581,4562,652,3373,1830,2355,932,997,3536,2005,1319,1402],"class_list":["post-64085","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-tutorials","tag-api","tag-curl","tag-deprecate","tag-deprecated","tag-deprecation","tag-error-404","tag-existence","tag-google-charts","tag-html","tag-http","tag-image-chart","tag-javascript","tag-logic","tag-method","tag-not-found","tag-php","tag-programming","tag-test","tag-tool","tag-tutorial","tag-web-application"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/64085"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=64085"}],"version-history":[{"count":6,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/64085\/revisions"}],"predecessor-version":[{"id":64091,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/64085\/revisions\/64091"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=64085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=64085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=64085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}