{"id":5314,"date":"2024-04-08T13:41:42","date_gmt":"2024-04-08T04:41:42","guid":{"rendered":"https:\/\/taitan916.info\/blog\/?p=5314"},"modified":"2024-03-13T23:04:24","modified_gmt":"2024-03-13T14:04:24","slug":"post-5314","status":"publish","type":"post","link":"https:\/\/taitan916.info\/blog\/archives\/5314","title":{"rendered":"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5"},"content":{"rendered":"<p>PHP\u3067\u5916\u90e8\u306eAPI\u7b49\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u969b\u306b\u53ef\u80fd\u3067\u3042\u308c\u3070file_get_contents\u3092\u3001\u96e3\u3057\u3044\u5834\u5408\u306fcurl\u3092\u4f7f\u3063\u3066\u3044\u305f\u3002file_get_contents\u306f\u5206\u304b\u308a\u3084\u3059\u3044\u304ccurl\u306f\u5206\u304b\u308a\u3065\u3089\u304f\u8a18\u8ff0\u3082\u9577\u304f\u306a\u308b\u306e\u3067\u9762\u5012\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63a2\u3057\u305f\u3068\u3053\u308dRequests for PHP\u304c\u826f\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u5b9f\u88c5\u65b9\u6cd5\u3092\u30e1\u30e2\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u3084\u308a\u305f\u3044\u3053\u3068<\/h2>\n<ul>\n<li>Requests for PHP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li><a href=\"https:\/\/zipcloud.ibsnet.co.jp\/\" target=\"_blank\" rel=\"noopener\">\u90f5\u4fbf\u756a\u53f7\u30c7\u30fc\u30bf\u914d\u4fe1\u30b5\u30fc\u30d3\u30b9<\/a>\u306eAPI\u306b\u30ea\u30af\u30a8\u30b9\u30c8<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>Requests for PHP<\/h2>\n<h3>\u516c\u5f0f\u30b5\u30a4\u30c8<\/h3>\n<p><a href=\"https:\/\/requests.ryanmccue.info\/\" target=\"_blank\" rel=\"noopener\">https:\/\/requests.ryanmccue.info\/<\/a><\/p>\n<h3>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/h3>\n<p><a href=\"https:\/\/requests.ryanmccue.info\/docs\/\" target=\"_blank\" rel=\"noopener\">https:\/\/requests.ryanmccue.info\/docs\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<h3>composer\u3092\u5229\u7528\u3059\u308b\u5834\u5408<\/h3>\n<p>\u30b5\u30fc\u30d0\u306bSSH\u63a5\u7d9a\u3057\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">composer require rmccue\/requests<\/pre>\n<h3>composer\u3092\u5229\u7528\u3057\u306a\u3044\u5834\u5408<\/h3>\n<p>\u4ee5\u4e0b\u304b\u3089zip\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u5c55\u958b\u3057\u305f\u4e0a\u3067\u9069\u5f53\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/WordPress\/Requests\/releases\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/WordPress\/Requests\/releases<\/a><\/p>\n<p>\u5c1a\u3001\u4eca\u56de\u306f\u3053\u3061\u3089\u306e\u65b9\u6cd5\u3092\u53d6\u3063\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u5b9f\u88c5\u65b9\u6cd5<\/h2>\n<h3>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?php\r\ninclude('.\/library\/Requests.php');\r\n\r\nRequests::register_autoloader();\r\n\r\n$url = 'https:\/\/zipcloud.ibsnet.co.jp\/api\/search';\r\n$data = array('zipcode' =&gt; '1050003');\r\n\r\n$request = Requests::post($url, array(), $data);\r\n\r\nif( $request != null &amp;&amp; $request-&gt;status_code == 200 ){\r\n    var_dump($request-&gt;body);\r\n}else{\r\n    \/\/\u30a8\u30e9\u30fc\u6642\u306e\u51e6\u7406\r\n}<\/pre>\n<h3>Requests::register_autoloader()<\/h3>\n<p>\u4eca\u56de\u306fcomposer\u3092\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u300cRequests::register_autoloader();\u300d\u3067\u5fc5\u8981\u30d5\u30a1\u30a4\u30eb\u3092\u8af8\u3005\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u304c\u3001composer\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3044\u3064\u3082\u306e\u300crequire_once 'vendor\/autoload.php';\u300d\u306b\u306a\u308b\u3068\u601d\u3046\u3002<\/p>\n<h3>Requests::post<\/h3>\n<p>post\u306e\u5834\u5408\u306f\u7b2c3\u5f15\u6570\u306b\u9001\u4fe1\u30c7\u30fc\u30bf(\u30af\u30a8\u30ea)\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u304cget\u3060\u3068\u3067\u304d\u306a\u3044\u6a21\u69d8\u3002\u305d\u306e\u305f\u3081get\u3092\u4f7f\u3046\u5834\u5408\u306furl\u3067\u76f4\u63a5\u300c?param=1\u300d\u306e\u3088\u3046\u306b\u6307\u5b9a\u3059\u308b\u5f62\u306b\u306a\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30a8\u30e9\u30fc\u5bfe\u5fdc<\/h2>\n<h3>Deprecated: The PSR-0 `Requests_...`\u30a8\u30e9\u30fc<\/h3>\n<p>\u300cDeprecated: The PSR-0 `Requests_...` class names in the Requests library are deprecated. Switch to the PSR-4 `WpOrg\\Requests\\...` class names at your earliest convenience. in\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u5834\u5408\u3001\u300c\/library\/Requests.php\u300d\u306e\u4e0a\u306e\u65b9\u3067\u4ee5\u4e0b\u5b9a\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">define('REQUESTS_SILENCE_PSR0_DEPRECATIONS', true);<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u6240\u611f<\/h2>\n<h3>\u30e1\u30ea\u30c3\u30c8<\/h3>\n<ul>\n<li>composer\u7121\u3057\u3067\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef<\/li>\n<li>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u7c21\u6f54\u306b\u66f8\u3051\u308b<\/li>\n<li>\u305d\u3053\u305d\u3053\u66f4\u65b0\u304c\u6d3b\u767a(2024\/03\u6642\u70b9\u3067\u6700\u7d42\u66f4\u65b0\u304c\u7d04\u534a\u5e74\u524d)<\/li>\n<\/ul>\n<h3>Guzzle<\/h3>\n<p>\u540c\u3058\u3088\u3046\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067Guzzle\u3068\u3044\u3046\u306e\u304c\u3042\u308a\u3001\u3053\u3061\u3089\u306e\u65b9\u304c\u6709\u540d\u307f\u305f\u3044\u3002\u3053\u3061\u3089\u3082\u305d\u306e\u5185\u8a66\u3057\u3066\u307f\u305f\u3044\u3068\u3053\u308d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u3067\u5916\u90e8\u306eAPI\u7b49\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u969b\u306b\u53ef\u80fd\u3067\u3042\u308c\u3070file_get_cont ... <\/p>\n","protected":false},"author":1,"featured_media":1085,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[100],"class_list":["post-5314","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-library"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"PHP\u3067\u5916\u90e8\u306eAPI\u7b49\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u969b\u306b\u53ef\u80fd\u3067\u3042\u308c\u3070file_get_contents\u3092\u3001\u96e3\u3057\u3044\u5834\u5408\u306fcurl\u3092\u4f7f\u3063\u3066\u3044\u305f\u3002file_get_contents\u306f\u5206\u304b\u308a\u3084\u3059\u3044\u304ccurl\u306f\u5206\u304b\u308a\u3065\u3089\u304f\u8a18\u8ff0\u3082\u9577\u304f\u306a\u308b\u306e\u3067\u9762\u5012\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63a2\u3057\u305f\u3068\u3053\u308dRequests for PHP\u304c\u826f\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u5b9f\u88c5\u65b9\u6cd5\u3092\u30e1\u30e2\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"taitan\"\/>\n\t<meta name=\"keywords\" content=\"\u30e9\u30a4\u30d6\u30e9\u30ea\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/taitan916.info\/blog\/archives\/5314\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta property=\"og:description\" content=\"PHP\u3067\u5916\u90e8\u306eAPI\u7b49\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u969b\u306b\u53ef\u80fd\u3067\u3042\u308c\u3070file_get_contents\u3092\u3001\u96e3\u3057\u3044\u5834\u5408\u306fcurl\u3092\u4f7f\u3063\u3066\u3044\u305f\u3002file_get_contents\u306f\u5206\u304b\u308a\u3084\u3059\u3044\u304ccurl\u306f\u5206\u304b\u308a\u3065\u3089\u304f\u8a18\u8ff0\u3082\u9577\u304f\u306a\u308b\u306e\u3067\u9762\u5012\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63a2\u3057\u305f\u3068\u3053\u308dRequests for PHP\u304c\u826f\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u5b9f\u88c5\u65b9\u6cd5\u3092\u30e1\u30e2\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/taitan916.info\/blog\/archives\/5314\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images4.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images4.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"309\" \/>\n\t\t<meta property=\"og:image:height\" content=\"163\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-04-08T04:41:42+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-03-13T14:04:24+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta name=\"twitter:description\" content=\"PHP\u3067\u5916\u90e8\u306eAPI\u7b49\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u969b\u306b\u53ef\u80fd\u3067\u3042\u308c\u3070file_get_contents\u3092\u3001\u96e3\u3057\u3044\u5834\u5408\u306fcurl\u3092\u4f7f\u3063\u3066\u3044\u305f\u3002file_get_contents\u306f\u5206\u304b\u308a\u3084\u3059\u3044\u304ccurl\u306f\u5206\u304b\u308a\u3065\u3089\u304f\u8a18\u8ff0\u3082\u9577\u304f\u306a\u308b\u306e\u3067\u9762\u5012\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63a2\u3057\u305f\u3068\u3053\u308dRequests for PHP\u304c\u826f\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u5b9f\u88c5\u65b9\u6cd5\u3092\u30e1\u30e2\u3002\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images4.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/5314#article\",\"name\":\"PHP\\u306eHTTP\\u30ea\\u30af\\u30a8\\u30b9\\u30c8\\u30e9\\u30a4\\u30d6\\u30e9\\u30ea\\u300cRequests for PHP\\u300d\\u306e\\u5229\\u7528\\u65b9\\u6cd5 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"headline\":\"PHP\\u306eHTTP\\u30ea\\u30af\\u30a8\\u30b9\\u30c8\\u30e9\\u30a4\\u30d6\\u30e9\\u30ea\\u300cRequests for PHP\\u300d\\u306e\\u5229\\u7528\\u65b9\\u6cd5\",\"author\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/images4.jpg\",\"width\":309,\"height\":163},\"datePublished\":\"2024-04-08T13:41:42+09:00\",\"dateModified\":\"2024-03-13T23:04:24+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/5314#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/5314#webpage\"},\"articleSection\":\"PHP, \\u30e9\\u30a4\\u30d6\\u30e9\\u30ea\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/5314#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/php#listItem\",\"name\":\"PHP\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/php#listItem\",\"position\":2,\"name\":\"PHP\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/php\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/5314#listItem\",\"name\":\"PHP\\u306eHTTP\\u30ea\\u30af\\u30a8\\u30b9\\u30c8\\u30e9\\u30a4\\u30d6\\u30e9\\u30ea\\u300cRequests for PHP\\u300d\\u306e\\u5229\\u7528\\u65b9\\u6cd5\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/5314#listItem\",\"position\":3,\"name\":\"PHP\\u306eHTTP\\u30ea\\u30af\\u30a8\\u30b9\\u30c8\\u30e9\\u30a4\\u30d6\\u30e9\\u30ea\\u300cRequests for PHP\\u300d\\u306e\\u5229\\u7528\\u65b9\\u6cd5\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/php#listItem\",\"name\":\"PHP\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\",\"name\":\"taitan\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916\",\"name\":\"taitan\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/5314#webpage\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/5314\",\"name\":\"PHP\\u306eHTTP\\u30ea\\u30af\\u30a8\\u30b9\\u30c8\\u30e9\\u30a4\\u30d6\\u30e9\\u30ea\\u300cRequests for PHP\\u300d\\u306e\\u5229\\u7528\\u65b9\\u6cd5 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"description\":\"PHP\\u3067\\u5916\\u90e8\\u306eAPI\\u7b49\\u306b\\u30ea\\u30af\\u30a8\\u30b9\\u30c8\\u3059\\u308b\\u969b\\u306b\\u53ef\\u80fd\\u3067\\u3042\\u308c\\u3070file_get_contents\\u3092\\u3001\\u96e3\\u3057\\u3044\\u5834\\u5408\\u306fcurl\\u3092\\u4f7f\\u3063\\u3066\\u3044\\u305f\\u3002file_get_contents\\u306f\\u5206\\u304b\\u308a\\u3084\\u3059\\u3044\\u304ccurl\\u306f\\u5206\\u304b\\u308a\\u3065\\u3089\\u304f\\u8a18\\u8ff0\\u3082\\u9577\\u304f\\u306a\\u308b\\u306e\\u3067\\u9762\\u5012\\u3002\\u30e9\\u30a4\\u30d6\\u30e9\\u30ea\\u3092\\u63a2\\u3057\\u305f\\u3068\\u3053\\u308dRequests for PHP\\u304c\\u826f\\u3055\\u305d\\u3046\\u3060\\u3063\\u305f\\u306e\\u3067\\u5b9f\\u88c5\\u65b9\\u6cd5\\u3092\\u30e1\\u30e2\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/5314#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/images4.jpg\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/5314\\\/#mainImage\",\"width\":309,\"height\":163},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/5314#mainImage\"},\"datePublished\":\"2024-04-08T13:41:42+09:00\",\"dateModified\":\"2024-03-13T23:04:24+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/\",\"name\":\"\\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"description\":\"Web\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2 \\\/ \\u30d7\\u30ed\\u30b0\\u30e9\\u30de\\u304c\\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"PHP\u3067\u5916\u90e8\u306eAPI\u7b49\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u969b\u306b\u53ef\u80fd\u3067\u3042\u308c\u3070file_get_contents\u3092\u3001\u96e3\u3057\u3044\u5834\u5408\u306fcurl\u3092\u4f7f\u3063\u3066\u3044\u305f\u3002file_get_contents\u306f\u5206\u304b\u308a\u3084\u3059\u3044\u304ccurl\u306f\u5206\u304b\u308a\u3065\u3089\u304f\u8a18\u8ff0\u3082\u9577\u304f\u306a\u308b\u306e\u3067\u9762\u5012\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63a2\u3057\u305f\u3068\u3053\u308dRequests for PHP\u304c\u826f\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u5b9f\u88c5\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","canonical_url":"https:\/\/taitan916.info\/blog\/archives\/5314","robots":"max-image-preview:large","keywords":"\u30e9\u30a4\u30d6\u30e9\u30ea","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/taitan916.info\/blog\/archives\/5314#article","name":"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","headline":"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5","author":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"publisher":{"@id":"https:\/\/taitan916.info\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images4.jpg","width":309,"height":163},"datePublished":"2024-04-08T13:41:42+09:00","dateModified":"2024-03-13T23:04:24+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/5314#webpage"},"isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/archives\/5314#webpage"},"articleSection":"PHP, \u30e9\u30a4\u30d6\u30e9\u30ea"},{"@type":"BreadcrumbList","@id":"https:\/\/taitan916.info\/blog\/archives\/5314#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/taitan916.info\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/php#listItem","name":"PHP"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/php#listItem","position":2,"name":"PHP","item":"https:\/\/taitan916.info\/blog\/archives\/category\/php","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/5314#listItem","name":"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5"},"previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/5314#listItem","position":3,"name":"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5","previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/php#listItem","name":"PHP"}}]},{"@type":"Person","@id":"https:\/\/taitan916.info\/blog\/#person","name":"taitan"},{"@type":"Person","@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author","url":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916","name":"taitan"},{"@type":"WebPage","@id":"https:\/\/taitan916.info\/blog\/archives\/5314#webpage","url":"https:\/\/taitan916.info\/blog\/archives\/5314","name":"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"PHP\u3067\u5916\u90e8\u306eAPI\u7b49\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u969b\u306b\u53ef\u80fd\u3067\u3042\u308c\u3070file_get_contents\u3092\u3001\u96e3\u3057\u3044\u5834\u5408\u306fcurl\u3092\u4f7f\u3063\u3066\u3044\u305f\u3002file_get_contents\u306f\u5206\u304b\u308a\u3084\u3059\u3044\u304ccurl\u306f\u5206\u304b\u308a\u3065\u3089\u304f\u8a18\u8ff0\u3082\u9577\u304f\u306a\u308b\u306e\u3067\u9762\u5012\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63a2\u3057\u305f\u3068\u3053\u308dRequests for PHP\u304c\u826f\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u5b9f\u88c5\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/taitan916.info\/blog\/archives\/5314#breadcrumblist"},"author":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"creator":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"image":{"@type":"ImageObject","url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images4.jpg","@id":"https:\/\/taitan916.info\/blog\/archives\/5314\/#mainImage","width":309,"height":163},"primaryImageOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/5314#mainImage"},"datePublished":"2024-04-08T13:41:42+09:00","dateModified":"2024-03-13T23:04:24+09:00"},{"@type":"WebSite","@id":"https:\/\/taitan916.info\/blog\/#website","url":"https:\/\/taitan916.info\/blog\/","name":"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"Web\u30a8\u30f3\u30b8\u30cb\u30a2 \/ \u30d7\u30ed\u30b0\u30e9\u30de\u304c\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\u3002","inLanguage":"ja","publisher":{"@id":"https:\/\/taitan916.info\/blog\/#person"}}]},"og:locale":"ja_JP","og:site_name":"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","og:type":"article","og:title":"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","og:description":"PHP\u3067\u5916\u90e8\u306eAPI\u7b49\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u969b\u306b\u53ef\u80fd\u3067\u3042\u308c\u3070file_get_contents\u3092\u3001\u96e3\u3057\u3044\u5834\u5408\u306fcurl\u3092\u4f7f\u3063\u3066\u3044\u305f\u3002file_get_contents\u306f\u5206\u304b\u308a\u3084\u3059\u3044\u304ccurl\u306f\u5206\u304b\u308a\u3065\u3089\u304f\u8a18\u8ff0\u3082\u9577\u304f\u306a\u308b\u306e\u3067\u9762\u5012\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63a2\u3057\u305f\u3068\u3053\u308dRequests for PHP\u304c\u826f\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u5b9f\u88c5\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","og:url":"https:\/\/taitan916.info\/blog\/archives\/5314","og:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images4.jpg","og:image:secure_url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images4.jpg","og:image:width":309,"og:image:height":163,"article:published_time":"2024-04-08T04:41:42+00:00","article:modified_time":"2024-03-13T14:04:24+00:00","twitter:card":"summary","twitter:title":"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","twitter:description":"PHP\u3067\u5916\u90e8\u306eAPI\u7b49\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u969b\u306b\u53ef\u80fd\u3067\u3042\u308c\u3070file_get_contents\u3092\u3001\u96e3\u3057\u3044\u5834\u5408\u306fcurl\u3092\u4f7f\u3063\u3066\u3044\u305f\u3002file_get_contents\u306f\u5206\u304b\u308a\u3084\u3059\u3044\u304ccurl\u306f\u5206\u304b\u308a\u3065\u3089\u304f\u8a18\u8ff0\u3082\u9577\u304f\u306a\u308b\u306e\u3067\u9762\u5012\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63a2\u3057\u305f\u3068\u3053\u308dRequests for PHP\u304c\u826f\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u5b9f\u88c5\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","twitter:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images4.jpg"},"aioseo_meta_data":{"post_id":"5314","title":null,"description":"PHP\u3067\u5916\u90e8\u306eAPI\u7b49\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u969b\u306b\u53ef\u80fd\u3067\u3042\u308c\u3070file_get_contents\u3092\u3001\u96e3\u3057\u3044\u5834\u5408\u306fcurl\u3092\u4f7f\u3063\u3066\u3044\u305f\u3002file_get_contents\u306f\u5206\u304b\u308a\u3084\u3059\u3044\u304ccurl\u306f\u5206\u304b\u308a\u3065\u3089\u304f\u8a18\u8ff0\u3082\u9577\u304f\u306a\u308b\u306e\u3067\u9762\u5012\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63a2\u3057\u305f\u3068\u3053\u308dRequests for PHP\u304c\u826f\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u5b9f\u88c5\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-03-04 04:41:43","updated":"2025-12-18 07:40:44","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\/archives\/category\/php\" title=\"PHP\">PHP<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/taitan916.info\/blog"},{"label":"PHP","link":"https:\/\/taitan916.info\/blog\/archives\/category\/php"},{"label":"PHP\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u300cRequests for PHP\u300d\u306e\u5229\u7528\u65b9\u6cd5","link":"https:\/\/taitan916.info\/blog\/archives\/5314"}],"_links":{"self":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/5314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/comments?post=5314"}],"version-history":[{"count":3,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/5314\/revisions"}],"predecessor-version":[{"id":5317,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/5314\/revisions\/5317"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media\/1085"}],"wp:attachment":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media?parent=5314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/categories?post=5314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/tags?post=5314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}