{"id":8054,"date":"2021-08-17T13:16:09","date_gmt":"2021-08-17T13:16:09","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=8054"},"modified":"2021-08-17T13:16:12","modified_gmt":"2021-08-17T13:16:12","slug":"how-to-read-a-whole-file-at-once-in-php","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/","title":{"rendered":"How to Read a Whole file at once in PHP?"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">How to Read a Whole file at once?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span class=\"has-inline-color has-vivid-red-color\"><code>file_get_contents( )<\/code><\/span><\/strong> Function is used to read entire file into a string. This function is the preferred way to read the contents of a file into a string. Because it will use memory mapping techniques, if this is supported by the server, to enhance performance. This function is binary-safe (meaning that both binary data, like images, and character data can be written with this function). The function returns the read data or FALSE on failure.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is file_get_contents() Function?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The  <strong><span class=\"has-inline-color has-vivid-red-color\"><code>file_get_contents( )<\/code><\/span><\/strong>  function in PHP is a built-in function for reading a file and converting it to a string. The function makes advantage of server-supported memory mapping methods, which improves speed and makes it a favored method of reading file data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Syntax:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"has-inline-color has-vivid-red-color\"><strong>file_get_contents($path, $include_path, $context, \r\n                              $start, $max_length)<\/strong><\/span><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The PHP method <code><span class=\"has-inline-color has-vivid-red-color\"><strong>file_get_contents()<\/strong><\/span><\/code> takes one necessary parameter and four optional options.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>$path<\/strong>: It provides the location of the file or directory to be examined.<\/li><li><strong>$include_path<\/strong>:\u00a0It&#8217;s an optional parameter that searches the include path (in php.ini) for a file even if it&#8217;s set to 1.<\/li><li><strong>$context<\/strong>: It is an optional argument for specifying a custom context.<\/li><li><strong>$start<\/strong>:\u00a0It&#8217;s an optional argument that specifies where to start reading from in the file.<\/li><li><strong>$max_length<\/strong>: It&#8217;s an optional parameter that specifies how many bytes should be read.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Return Value:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On success, it returns the read data; on failure, it returns FALSE.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Errors And Exception<\/strong>:\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>If you wish to open a file that contains special characters like spaces, you must first encode it with <strong><code><span class=\"has-inline-color has-vivid-red-color\">urlencode ()<\/span><\/code><\/strong>.<\/li><li>The <strong><code><span class=\"has-inline-color has-vivid-red-color\">file_get_contents()<\/span><\/code><\/strong> method produces a non-Boolean result that evaluates to FALSE, but it can also return a Boolean value.<\/li><li>If filename cannot be found, maxlength is less than zero, or searching to the given offset in the stream fails, an E WARNING level error is produced.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Let&#8217;s take examples to explain how  <strong><code><span class=\"has-inline-color has-vivid-red-color\">file_get_contents()<\/span><\/code> <\/strong> works:-<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>Input:  file_get_contents('https:\/\/www.scmgalaxy.com\/');\r\nOutput: A computer science portal for scmgalaxy\r\n\r\nInput:  file_get_contents('test.txt', FALSE, NULL, 0, 14);\r\nOutput: A computer science portal for scmgalaxy\n\n\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example 1:-<\/strong><\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/AdarshAshwani\/499cc0b359cbee132d337054b50238a9.js\"><\/script>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output:\u00a0<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong><span class=\"has-inline-color has-vivid-purple-color\">A computer science portal for scmgalaxy<\/span><\/strong><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"> <strong>Example 2:-<\/strong> <\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/AdarshAshwani\/6cd50d1ee25e362415de8c388632617b.js\"><\/script>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output:-<\/strong> <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"has-inline-color has-vivid-purple-color\"><strong>A computer science portal for scmgalaxy<\/strong><\/span><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Read a Whole file at once? file_get_contents( ) Function is used to read entire file into a string. [&hellip;]<\/p>\n","protected":false},"author":33,"featured_media":8052,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5388],"tags":[6373,6375,6368,6369,177,5545,6374,6371],"class_list":["post-8054","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-file_get_contents","tag-file_get_contents-function","tag-how-to-read-a-whole-file-at-once","tag-how-to-read-a-whole-file-at-once-in-php","tag-php","tag-php-function","tag-read-a-whole-file-at-once","tag-what-is-file_get_contents-function"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Read a Whole file at once in PHP? - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Read a Whole file at once in PHP? - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"How to Read a Whole file at once? file_get_contents( ) Function is used to read entire file into a string. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/profile.php?id=100003935402658\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-17T13:16:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T13:16:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/08\/file-handling-in-php-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"174\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ashwani Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashwani Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/\"},\"author\":{\"name\":\"Ashwani Kumar\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/19f28f8f969c1679bfb37d4dad6adc31\"},\"headline\":\"How to Read a Whole file at once in PHP?\",\"datePublished\":\"2021-08-17T13:16:09+00:00\",\"dateModified\":\"2021-08-17T13:16:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/\"},\"wordCount\":325,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/file-handling-in-php-1.jpg\",\"keywords\":[\"file_get_contents()\",\"file_get_contents() Function\",\"How to Read a Whole file at once\",\"How to Read a Whole file at once in PHP\",\"Php\",\"PHP Function\",\"Read a Whole file at once\",\"What is file_get_contents() Function?\"],\"articleSection\":[\"php\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/\",\"name\":\"How to Read a Whole file at once in PHP? - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/file-handling-in-php-1.jpg\",\"datePublished\":\"2021-08-17T13:16:09+00:00\",\"dateModified\":\"2021-08-17T13:16:12+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/19f28f8f969c1679bfb37d4dad6adc31\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/file-handling-in-php-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/file-handling-in-php-1.jpg\",\"width\":512,\"height\":174},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-read-a-whole-file-at-once-in-php\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Read a Whole file at once in PHP?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/19f28f8f969c1679bfb37d4dad6adc31\",\"name\":\"Ashwani Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g\",\"caption\":\"Ashwani Kumar\"},\"description\":\"There is no end to education. It is not that you read a book, pass an examination, and finish with education. The whole of life, from the moment you are born to the moment you die, is a process of learning.\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/profile.php?id=100003935402658\",\"https:\\\/\\\/www.instagram.com\\\/adarshashwani\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/adarsh-ashwani-a75b23130\\\/\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/ashwani\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Read a Whole file at once in PHP? - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/","og_locale":"en_US","og_type":"article","og_title":"How to Read a Whole file at once in PHP? - scmGalaxy","og_description":"How to Read a Whole file at once? file_get_contents( ) Function is used to read entire file into a string. [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/","og_site_name":"scmGalaxy","article_author":"https:\/\/www.facebook.com\/profile.php?id=100003935402658","article_published_time":"2021-08-17T13:16:09+00:00","article_modified_time":"2021-08-17T13:16:12+00:00","og_image":[{"width":512,"height":174,"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/08\/file-handling-in-php-1.jpg","type":"image\/jpeg"}],"author":"Ashwani Kumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ashwani Kumar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/"},"author":{"name":"Ashwani Kumar","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/19f28f8f969c1679bfb37d4dad6adc31"},"headline":"How to Read a Whole file at once in PHP?","datePublished":"2021-08-17T13:16:09+00:00","dateModified":"2021-08-17T13:16:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/"},"wordCount":325,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/08\/file-handling-in-php-1.jpg","keywords":["file_get_contents()","file_get_contents() Function","How to Read a Whole file at once","How to Read a Whole file at once in PHP","Php","PHP Function","Read a Whole file at once","What is file_get_contents() Function?"],"articleSection":["php"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/","name":"How to Read a Whole file at once in PHP? - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/08\/file-handling-in-php-1.jpg","datePublished":"2021-08-17T13:16:09+00:00","dateModified":"2021-08-17T13:16:12+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/19f28f8f969c1679bfb37d4dad6adc31"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/08\/file-handling-in-php-1.jpg","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2021\/08\/file-handling-in-php-1.jpg","width":512,"height":174},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-read-a-whole-file-at-once-in-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Read a Whole file at once in PHP?"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/19f28f8f969c1679bfb37d4dad6adc31","name":"Ashwani Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g","caption":"Ashwani Kumar"},"description":"There is no end to education. It is not that you read a book, pass an examination, and finish with education. The whole of life, from the moment you are born to the moment you die, is a process of learning.","sameAs":["https:\/\/www.facebook.com\/profile.php?id=100003935402658","https:\/\/www.instagram.com\/adarshashwani\/","https:\/\/www.linkedin.com\/in\/adarsh-ashwani-a75b23130\/"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/ashwani\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=8054"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8054\/revisions"}],"predecessor-version":[{"id":8063,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8054\/revisions\/8063"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media\/8052"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=8054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=8054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=8054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}