{"id":1359,"date":"2025-08-04T08:29:45","date_gmt":"2025-08-04T08:29:45","guid":{"rendered":"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/"},"modified":"2025-08-04T08:29:45","modified_gmt":"2025-08-04T08:29:45","slug":"superglobals-_get-_post-_server-_session-_cookie-_files","status":"publish","type":"post","link":"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/","title":{"rendered":"Superglobals: $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, $_FILES"},"content":{"rendered":"<h1>Understanding PHP Superglobals: A Deep Dive \ud83c\udfaf<\/h1>\n<p>Welcome to the world of PHP superglobals!  These special, pre-defined variables are always accessible, regardless of scope, making them invaluable for creating dynamic and interactive web applications. <strong>Understanding PHP Superglobals<\/strong> like <code>$_GET<\/code>, <code>$_POST<\/code>, <code>$_SERVER<\/code>, <code>$_SESSION<\/code>, <code>$_COOKIE<\/code>, and <code>$_FILES<\/code> is crucial for any PHP developer looking to build secure and efficient websites. Let&#8217;s unravel the mysteries behind these powerful tools and explore how to leverage them effectively.<\/p>\n<h2>Executive Summary \u2728<\/h2>\n<p>PHP superglobals are the cornerstone of data handling in PHP web applications. They provide access to critical information, from user input and server details to session data and file uploads. Mastering these variables is essential for creating robust, dynamic, and secure websites. This guide will demystify each superglobal, providing clear explanations, practical examples, and security considerations. We&#8217;ll explore how to use <code>$_GET<\/code> and <code>$_POST<\/code> for handling form data, <code>$_SERVER<\/code> for accessing server environment information, <code>$_SESSION<\/code> for managing user sessions, <code>$_COOKIE<\/code> for persistent data storage, and <code>$_FILES<\/code> for handling file uploads.  By the end of this article, you&#8217;ll have a solid understanding of these superglobals and be able to use them confidently in your projects. DoHost offers reliable hosting solutions that make working with PHP superglobals seamless and efficient.<\/p>\n<h2>$_GET: Accessing URL Parameters \ud83d\udcc8<\/h2>\n<p>The <code>$_GET<\/code> superglobal is used to retrieve data from the URL query string. It&#8217;s an associative array containing variables passed to the current script via URL parameters. This is commonly used for search queries, pagination, and passing simple data between pages.<\/p>\n<ul>\n<li>\u2705 Allows passing data through the URL.<\/li>\n<li>\u2705 Data is visible in the URL, making it less secure for sensitive information.<\/li>\n<li>\u2705 Commonly used for implementing search functionality and pagination.<\/li>\n<li>\u2705 Easily bookmarkable and shareable URLs.<\/li>\n<li>\u2705 Limited data size due to URL length restrictions.<\/li>\n<\/ul>\n<p>Example:<\/p>\n<pre><code>\n    &lt;?php\n    \/\/ URL: example.com\/index.php?name=John&amp;age=30\n\n    $name = $_GET['name'];\n    $age = $_GET['age'];\n\n    echo \"Name: \" . htmlspecialchars($name) . \"&lt;br&gt;\"; \/\/ Output: Name: John\n    echo \"Age: \" . htmlspecialchars($age) . \"&lt;br&gt;\";    \/\/ Output: Age: 30\n    ?&gt;\n    <\/code><\/pre>\n<h2>$_POST: Handling Form Submissions \ud83d\udca1<\/h2>\n<p>The <code>$_POST<\/code> superglobal is used to collect data from HTML forms after they are submitted with the HTTP POST method. It&#8217;s ideal for handling sensitive data like passwords and large amounts of data.<\/p>\n<ul>\n<li>\u2705 Retrieves data sent via the HTTP POST method.<\/li>\n<li>\u2705 More secure than <code>$_GET<\/code> for sensitive data, as it&#8217;s not visible in the URL.<\/li>\n<li>\u2705 Used for form submissions like login forms, registration forms, and content submissions.<\/li>\n<li>\u2705 Can handle larger amounts of data compared to <code>$_GET<\/code>.<\/li>\n<li>\u2705 Data is not bookmarkable or easily shareable directly.<\/li>\n<\/ul>\n<p>Example:<\/p>\n<pre><code>\n    &lt;form action=\"process.php\" method=\"post\"&gt;\n        &lt;label for=\"username\"&gt;Username:&lt;\/label&gt;\n        &lt;input type=\"text\" id=\"username\" name=\"username\"&gt;&lt;br&gt;\n\n        &lt;label for=\"password\"&gt;Password:&lt;\/label&gt;\n        &lt;input type=\"password\" id=\"password\" name=\"password\"&gt;&lt;br&gt;\n\n        &lt;input type=\"submit\" value=\"Submit\"&gt;\n    &lt;\/form&gt;\n    <\/code><\/pre>\n<p>process.php:<\/p>\n<pre><code>\n    &lt;?php\n    $username = $_POST['username'];\n    $password = $_POST['password'];\n\n    echo \"Username: \" . htmlspecialchars($username) . \"&lt;br&gt;\";\n    echo \"Password: \" . htmlspecialchars($password) . \"&lt;br&gt;\"; \/\/ Never display actual passwords in production!\n    ?&gt;\n    <\/code><\/pre>\n<h2>$_SERVER: Accessing Server Information \ud83d\udca1<\/h2>\n<p>The <code>$_SERVER<\/code> superglobal is an array containing information about headers, paths, and script locations. It provides a wealth of data about the server environment and the request being made.<\/p>\n<ul>\n<li>\u2705 Contains information about the server and execution environment.<\/li>\n<li>\u2705 Provides access to HTTP headers, script paths, and server information.<\/li>\n<li>\u2705 Useful for determining the request method, server name, and client IP address.<\/li>\n<li>\u2705 Can be used for debugging and logging purposes.<\/li>\n<li>\u2705 Some values may be unreliable depending on server configuration.<\/li>\n<\/ul>\n<p>Example:<\/p>\n<pre><code>\n    &lt;?php\n    echo \"Server Name: \" . htmlspecialchars($_SERVER['SERVER_NAME']) . \"&lt;br&gt;\";\n    echo \"Request Method: \" . htmlspecialchars($_SERVER['REQUEST_METHOD']) . \"&lt;br&gt;\";\n    echo \"Script Name: \" . htmlspecialchars($_SERVER['SCRIPT_NAME']) . \"&lt;br&gt;\";\n    echo \"Client IP Address: \" . htmlspecialchars($_SERVER['REMOTE_ADDR']) . \"&lt;br&gt;\";\n    ?&gt;\n    <\/code><\/pre>\n<h2>$_SESSION: Managing User Sessions \ud83d\udd11<\/h2>\n<p>The <code>$_SESSION<\/code> superglobal is used to store user-specific data across multiple pages.  It allows you to maintain user state between requests.  Sessions require starting a session with <code>session_start()<\/code> before accessing <code>$_SESSION<\/code>.<\/p>\n<ul>\n<li>\u2705 Stores user-specific data across multiple pages.<\/li>\n<li>\u2705 Requires starting a session with <code>session_start()<\/code>.<\/li>\n<li>\u2705 Useful for implementing user authentication and authorization.<\/li>\n<li>\u2705 Stores data on the server, making it more secure than cookies for sensitive information.<\/li>\n<li>\u2705 Sessions typically expire after a period of inactivity.<\/li>\n<\/ul>\n<p>Example:<\/p>\n<pre><code>\n    &lt;?php\n    session_start();\n\n    $_SESSION['username'] = 'JohnDoe';\n    $_SESSION['user_id'] = 123;\n\n    echo \"Username: \" . htmlspecialchars($_SESSION['username']) . \"&lt;br&gt;\";\n    echo \"User ID: \" . htmlspecialchars($_SESSION['user_id']) . \"&lt;br&gt;\";\n    ?&gt;\n    <\/code><\/pre>\n<h2>$_COOKIE: Persistent Data Storage \ud83c\udf6a<\/h2>\n<p>The <code>$_COOKIE<\/code> superglobal is used to retrieve data stored in cookies. Cookies are small text files stored on the user&#8217;s computer that can be used to remember user preferences, track browsing behavior, and more.<\/p>\n<ul>\n<li>\u2705 Stores small amounts of data on the user&#8217;s computer.<\/li>\n<li>\u2705 Useful for remembering user preferences and tracking browsing behavior.<\/li>\n<li>\u2705 Data is stored client-side, which can be a security risk for sensitive information.<\/li>\n<li>\u2705 Cookies can be disabled by the user, so they should not be relied upon for critical functionality.<\/li>\n<li>\u2705 Set using the <code>setcookie()<\/code> function.<\/li>\n<\/ul>\n<p>Example:<\/p>\n<pre><code>\n    &lt;?php\n    \/\/ Set a cookie\n    setcookie('username', 'JohnDoe', time() + (86400 * 30), \"\/\"); \/\/ expires in 30 days\n\n    \/\/ Access the cookie\n    if(isset($_COOKIE['username'])) {\n        echo \"Username: \" . htmlspecialchars($_COOKIE['username']) . \"&lt;br&gt;\";\n    } else {\n        echo \"Cookie not set.\";\n    }\n    ?&gt;\n    <\/code><\/pre>\n<h2>$_FILES: Handling File Uploads \ud83d\udcc1<\/h2>\n<p>The <code>$_FILES<\/code> superglobal is used to handle file uploads. It&#8217;s a multi-dimensional array containing information about the uploaded file, such as its name, type, size, and temporary location.<\/p>\n<ul>\n<li>\u2705 Handles file uploads from HTML forms.<\/li>\n<li>\u2705 Contains information about the uploaded file, such as its name, type, size, and temporary location.<\/li>\n<li>\u2705 Requires proper server configuration to enable file uploads.<\/li>\n<li>\u2705 Important to implement security measures to prevent malicious file uploads.<\/li>\n<li>\u2705 Use <code>move_uploaded_file()<\/code> to move the file from the temporary location to a permanent destination.<\/li>\n<\/ul>\n<p>Example:<\/p>\n<pre><code>\n    &lt;form action=\"upload.php\" method=\"post\" enctype=\"multipart\/form-data\"&gt;\n        &lt;label for=\"fileToUpload\"&gt;Select file to upload:&lt;\/label&gt;\n        &lt;input type=\"file\" name=\"fileToUpload\" id=\"fileToUpload\"&gt;&lt;br&gt;\n        &lt;input type=\"submit\" value=\"Upload File\" name=\"submit\"&gt;\n    &lt;\/form&gt;\n    <\/code><\/pre>\n<p>upload.php:<\/p>\n<pre><code>\n    &lt;?php\n    $target_dir = \"uploads\/\";\n    $target_file = $target_dir . basename($_FILES[\"fileToUpload\"][\"name\"]);\n    $uploadOk = 1;\n    $imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION));\n\n    \/\/ Check if image file is a actual image or fake image\n    if(isset($_POST[\"submit\"])) {\n        $check = getimagesize($_FILES[\"fileToUpload\"][\"tmp_name\"]);\n        if($check !== false) {\n            echo \"File is an image - \" . $check[\"mime\"] . \".&lt;br&gt;\";\n            $uploadOk = 1;\n        } else {\n            echo \"File is not an image.&lt;br&gt;\";\n            $uploadOk = 0;\n        }\n    }\n\n    \/\/ ... (More validation checks and move_uploaded_file() function) ...\n    ?&gt;\n    <\/code><\/pre>\n<h2>FAQ \u2753<\/h2>\n<h3>What are the main differences between $_GET and $_POST?<\/h3>\n<p><code>$_GET<\/code> and <code>$_POST<\/code> are both used to pass data from a client to a server, but they differ in how they transmit the data. <code>$_GET<\/code> appends data to the URL, making it visible and bookmarkable, but limiting the amount of data that can be sent. <code>$_POST<\/code> sends data in the HTTP request body, making it more suitable for sensitive information and larger amounts of data.<\/p>\n<h3>How can I prevent security vulnerabilities when using superglobals?<\/h3>\n<p>Always sanitize and validate data received from superglobals before using it in your code. Use functions like <code>htmlspecialchars()<\/code> to prevent cross-site scripting (XSS) attacks and validate data types to avoid unexpected behavior. Be especially careful when handling file uploads with <code>$_FILES<\/code> to prevent malicious file uploads.<\/p>\n<h3>Why do I need to call session_start() before using $_SESSION?<\/h3>\n<p>The <code>session_start()<\/code> function initializes a session, which creates a unique session ID for the user and either retrieves an existing session or creates a new one. Without calling <code>session_start()<\/code>, the <code>$_SESSION<\/code> superglobal will not be available, and you won&#8217;t be able to store or retrieve session data. This function must be called before any output is sent to the browser.<\/p>\n<h2>Conclusion<\/h2>\n<p>Mastering PHP superglobals is fundamental for building dynamic, secure, and efficient web applications. From handling user input with <code>$_GET<\/code> and <code>$_POST<\/code> to managing user sessions with <code>$_SESSION<\/code> and handling file uploads with <code>$_FILES<\/code>, these variables provide access to essential data and functionalities.  Remember to always sanitize and validate data to prevent security vulnerabilities and to use each superglobal appropriately based on the data being handled. By <strong>Understanding PHP Superglobals<\/strong> and applying best practices, you can create robust and reliable web solutions. Check out DoHost for hosting solutions tailored for PHP development.<\/p>\n<h3>Tags<\/h3>\n<p>    PHP Superglobals, $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE<\/p>\n<h3>Meta Description<\/h3>\n<p>    Demystifying PHP superglobals! Learn $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, and $_FILES. Master data handling in PHP for secure, dynamic web apps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Understanding PHP Superglobals: A Deep Dive \ud83c\udfaf Welcome to the world of PHP superglobals! These special, pre-defined variables are always accessible, regardless of scope, making them invaluable for creating dynamic and interactive web applications. Understanding PHP Superglobals like $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, and $_FILES is crucial for any PHP developer looking to build secure [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5412],"tags":[5448,5449,5444,5445,5446,5447,5450,3277,5443,5427,5451,204],"class_list":["post-1359","post","type-post","status-publish","format-standard","hentry","category-php","tag-_cookie","tag-_files","tag-_get","tag-_post","tag-_server","tag-_session","tag-data-handling","tag-php-security","tag-php-superglobals","tag-php-tutorial","tag-php-variables","tag-web-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.0 (Yoast SEO v25.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Superglobals: $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, $_FILES - Developers Heaven<\/title>\n<meta name=\"description\" content=\"Demystifying PHP superglobals! Learn $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, and $_FILES. Master data handling in PHP for secure, dynamic web apps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Superglobals: $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, $_FILES\" \/>\n<meta property=\"og:description\" content=\"Demystifying PHP superglobals! Learn $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, and $_FILES. Master data handling in PHP for secure, dynamic web apps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/\" \/>\n<meta property=\"og:site_name\" content=\"Developers Heaven\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-04T08:29:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/via.placeholder.com\/600x400?text=Superglobals+_GET+_POST+_SERVER+_SESSION+_COOKIE+_FILES\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/\",\"url\":\"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/\",\"name\":\"Superglobals: $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, $_FILES - Developers Heaven\",\"isPartOf\":{\"@id\":\"https:\/\/developers-heaven.net\/blog\/#website\"},\"datePublished\":\"2025-08-04T08:29:45+00:00\",\"author\":{\"@id\":\"\"},\"description\":\"Demystifying PHP superglobals! Learn $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, and $_FILES. Master data handling in PHP for secure, dynamic web apps.\",\"breadcrumb\":{\"@id\":\"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/developers-heaven.net\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Superglobals: $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, $_FILES\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/developers-heaven.net\/blog\/#website\",\"url\":\"https:\/\/developers-heaven.net\/blog\/\",\"name\":\"Developers Heaven\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/developers-heaven.net\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Superglobals: $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, $_FILES - Developers Heaven","description":"Demystifying PHP superglobals! Learn $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, and $_FILES. Master data handling in PHP for secure, dynamic web apps.","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:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/","og_locale":"en_US","og_type":"article","og_title":"Superglobals: $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, $_FILES","og_description":"Demystifying PHP superglobals! Learn $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, and $_FILES. Master data handling in PHP for secure, dynamic web apps.","og_url":"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/","og_site_name":"Developers Heaven","article_published_time":"2025-08-04T08:29:45+00:00","og_image":[{"url":"https:\/\/via.placeholder.com\/600x400?text=Superglobals+_GET+_POST+_SERVER+_SESSION+_COOKIE+_FILES","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/","url":"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/","name":"Superglobals: $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, $_FILES - Developers Heaven","isPartOf":{"@id":"https:\/\/developers-heaven.net\/blog\/#website"},"datePublished":"2025-08-04T08:29:45+00:00","author":{"@id":""},"description":"Demystifying PHP superglobals! Learn $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, and $_FILES. Master data handling in PHP for secure, dynamic web apps.","breadcrumb":{"@id":"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/developers-heaven.net\/blog\/superglobals-_get-_post-_server-_session-_cookie-_files\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/developers-heaven.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Superglobals: $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE, $_FILES"}]},{"@type":"WebSite","@id":"https:\/\/developers-heaven.net\/blog\/#website","url":"https:\/\/developers-heaven.net\/blog\/","name":"Developers Heaven","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/developers-heaven.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/posts\/1359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/comments?post=1359"}],"version-history":[{"count":0,"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/posts\/1359\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/media?parent=1359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/categories?post=1359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers-heaven.net\/blog\/wp-json\/wp\/v2\/tags?post=1359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}