{"id":10589,"date":"2021-06-10T12:21:14","date_gmt":"2021-06-10T06:51:14","guid":{"rendered":"https:\/\/www.hexnode.com\/blogs\/?p=10589"},"modified":"2024-01-19T17:49:00","modified_gmt":"2024-01-19T12:19:00","slug":"scripting-best-practices","status":"publish","type":"post","link":"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/","title":{"rendered":"Scripting best practices every IT admin must follow"},"content":{"rendered":"<p>Scripting can sometimes be as much complex as in-depth programming. With the same chaos being hidden behind the several hundred lines of codes and the same buzzwords \u2013 \u2018smart\u2019, \u2018quick\u2019 and \u2018bug-free\u2019 defining the script\u2019s worthiness, the same level of planning, the same level of mastery, and the same level of efforts are needed in scripting too. Without the right approach, even a bona fide coder can remain riddled with a seemingly simple script, and there are no golden rules to scripting. However, a few well-known scripting best practices can help you do the stacked-up dozen things more efficiently than usual.<\/p>\n<h2>The right way to get down to scripting<\/h2>\n<p>Scripts are a sequence of commands that help to make complicated daily chores a lot less trouble. Scripting is a powerful tool for anyone handling repetitive and boring processes, especially for IT teams looking to automate administration tasks. But as with any other tool, having a good understanding is important to create useful scripts that can streamline your work.<\/p>\n<p>Scripting can be a piece of cake or a hard nut to crack; it all depends upon the way you get through it. If you have never built a script before or if you\u2019re not yet comfortable with scripting, there are a few good things to take into consideration before you get started.<\/p>\n<h3>Selecting your scripting language<\/h3>\n<p><center><a href=\"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/06\/Best-practices-while-selecting-your-scripting-language-scaled.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/06\/Best-practices-while-selecting-your-scripting-language-scaled.jpg\" alt=\"Best practices while selecting the scripting language\" width=\"682\" height=\"425\" \/><\/a><\/center><center><em>Best practices while selecting the scripting language<\/em><\/center>&nbsp;<\/p>\n<p>A scripting language is basically a programming language that is interpreted without being compiled. Scripting languages being built to integrate with other languages often work in conjunction with some other programming languages. The instructions written using scripting languages are made for a runtime environment.<\/p>\n<p>Choosing a language to write your scripts is one of the first steps, but you need to recheck your objectives before picking one. There are no generalizations here as the scripting universe is a bit vast and is constantly expanding. What you need to choose solely depends on what you actually need to achieve with the script but a few factors to consider include:<\/p>\n<ul>\n<li><em>The target OS:<\/em> Consider the OS platform of the device to which the script is to be pushed. There are many scripting languages, but the primary ones supported by one OS will be different from the other. For instance, in Windows, Batch and PowerShell are the major scripting languages, but for Macs, AppleScript and JavaScript are the commonly used ones. So, you should choose a scripting language that help you build better scripts on the targeted platform.<\/li>\n<li><em>Ease of use:<\/em> Before deciding on a scripting language, be sure to check its flexibility to take in a new functionality, ease to extend and fix bugs. Choose a scripting language with which you&#8217;re comfortable and that is easy to incorporate new features.<\/li>\n<li><em>Community support:<\/em> There are many community forums, tutorials and articles out there to support coders. Select a scripting language only if it has enough resources available and has active forums through which you can seek help if needed.<\/li>\n<li><em>Processing time:<\/em> The time it takes to write a script depends on the difficulty of learning and understanding the scripting language. So, consider taking a scripting language that is easy to follow and is less time consuming.<\/li>\n<\/ul>\n<h3>Picking up an editor<\/h3>\n<p>You need a flexible platform that makes you more efficient in writing down your script. Back in the old days, normal text editors like Notepad were the only choice, but now there are many tools to assist you with this. Many of us still stick with the text editors we already know, but it is important to realize that there are many features a basic text editor can\u2019t provide, easy customizations, plugin support, and auto-completion feature, to name a few. To get these additional features, a modern code editor tool is needed in the first place. The commonly used ones include Apple\u2019s Xcode and Microsoft\u2019s Visual Studio Code.<\/p>\n<h3>Writing down your script<\/h3>\n<p><center><a href=\"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/02\/Get-an-idea-of-different-Windows-scripting-languages-scaled.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/02\/Get-an-idea-of-different-Windows-scripting-languages-scaled.jpg\" alt=\"Best practices while writing down the script\" width=\"682\" height=\"425\" \/><\/a><\/center><center><em>Best practices while writing down the script<\/em><\/center>&nbsp;<\/p>\n<p>There are hundreds to thousands of guidelines for you here depending on the scripting language you\u2019ve chosen (hard to cover in a single blog). However, the general best practices other than the usual advice to keep the code as simple as possible include:<\/p>\n<ul>\n<li><em>Give proper variable naming:<\/em> Strictly follow the naming conventions of the selected scripting language. Keep them short and use proper capitalizations and other characters to make the names understandable. The value they store should be reflected by the variable&#8217;s name itself.<\/li>\n<li><em>Show consistency in code formatting:<\/em> The codes within your script should be written in a clean format with proper spacing and alignment, which is important in making the script more readable. Whatever format you use, be sure to follow the same formatting throughout your scripts so that it would be easy for you as well as others to understand and distinguish between different sections of the script easily.<\/li>\n<li><em>Leave explanations of the codes via comments:<\/em> Code comments are really important as they give the reader an easy understanding of what each line of code is meant for. It can even help the writer of the script at a later time to quickly recollect the logic behind the script. It is good to start the script with a comment indicating what the script actually achieves and what parameters does it use.<\/li>\n<li><em>Don\u2019t embed data directly:<\/em> Generally known by the term hard coding, embedding sensitive data directly into the code can cause serious security risks. Please avoid inserting usernames, passwords, any such credential or any sort of confidential data inside scripts. Instead of directly adding the data, you can make use of parameters and share the data only when needed, which will keep the readers away from knowing or accessing your sensitive information.<\/li>\n<\/ul>\n<h3>Testing your script<\/h3>\n<p>Needless to say, proper testing is an important step in making your script error-free. There are even applications to review your code and highlight the sections where the general scripting rules and syntax are violated. Performing actual testing would be a better option than using such error-checking apps. However, while testing your final scripts, be careful of:<\/p>\n<ul>\n<li>Checking each line of your script.<\/li>\n<li>Dividing the script into small sections and test out the functionality of a small part first rather than checking the entire script at once which sometimes results in spending hours only to find out that the script was wrong.<\/li>\n<li>Using, as much as possible, a non-productive but similar environment for testing.<\/li>\n<li>Testing manually before executing the script in your production environment.<\/li>\n<li>Making sure to check the expected behavior by testing on devices for which you don\u2019t have admin rights.<\/li>\n<\/ul>\n<p>If you find errors with your scripts and are doing corrections multiple times, be sure to properly organize different versions of your scripts so that you get a proper revision history that will be of use at a later time. It is also a good practice to share your scripts in communities to get suggestions and corrections from scripting experts.<\/p>\n<h3>Executing your script<\/h3>\n<p><center><a href=\"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/02\/The-history-of-Windows-automation-scaled.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/02\/The-history-of-Windows-automation-scaled.jpg\" alt=\"Best practices while executing your scripts\" width=\"682\" height=\"425\" \/><\/a><\/center><center><em>Best practices while executing your scripts<\/em><\/center>&nbsp;<\/p>\n<p>Many methods are out there, starting from the most tedious manual methods to the quick and hands-free methods, all to execute your script on the target devices. You can, of course, choose one as you wish from the list below but it is imperative to go for the most scalable and all-encompassing method that could handle any of your use cases.<\/p>\n<ul>\n<li><em>Executing scripts on-demand using the terminal application<\/em><br \/>\nThis is the most generic method, which involves individually running the script by opening the terminal app on each of the target devices and executing the script using specific commands.<\/li>\n<li><em>Scheduling script execution<\/em><br \/>\nThere are many options to set the script to run on a scheduled time or repeatedly run after particular intervals. There are even scheduling tools like Task scheduler for Windows and Crontab for macOS to automate script execution. However, scalability is still a matter of concern. For IT admins handling a large fleet of devices, they need to spare some time to access each device and schedule the script execution.<\/li>\n<li><em>Executing scripts remotely using UEM<\/em><br \/>\nRunning scripts is a great automation option for enterprise IT, and the ability to execute them remotely would be even greater. This is what you can achieve with a UEM like Hexnode. All your custom scripts can be uploaded to the Hexnode management portal and pushed remotely to your target devices individually or in bulk as and when needed. Hexnode allows pushing custom scripts to Windows and macOS devices.<\/li>\n<\/ul>\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle  \"   >\r\n    \t\t\t<span class=\"hts-messages__title\"><\/p>\n<h4>Benefits of executing custom scripts via UEM:<\/h4>\n<p><\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t\n<ul>\n<li><em>Scalability:<\/em> The scripts can be pushed to a large number of devices at once.<\/li>\n<li><em>Remote execution:<\/em> This would be the most important perk of executing scripts via UEM, especially for IT admins who need to handle employee devices at remote locations.<\/li>\n<li><em>Orchestration of scripts:<\/em> All your scripts can be neatly arranged and kept well organized to easily identify and trigger particular scripts on demand on a user device.<\/li>\n<li><em>Execution based on scope:<\/em> Scripts can be executed to device groups or user groups according to their scope.<\/li>\n<li><em>Conditional execution:<\/em> UEM allows to create criteria-based dynamic groups and execute scripts to a specific category of devices only when they\u00a0meet or violate the set conditions.<\/li>\n<li><em>Ease of tracking:<\/em> The status of script execution shown in the UEM portal makes it easy for the IT admin to monitor the script execution status and take necessary actions as and when needed.<\/li>\n<\/ul>\n<p>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t<br \/>\nNonetheless, it&#8217;s worth mentioning that executing your custom scripts using a UEM solution is the best scripting practice in the execution phase due to the benefits we&#8217;ve discussed so far.<\/p>\n<p><div class=\"signup_box\"><div class=\"signup_wrap_img\"><div class=\"signup-bg\" style=\"background-image:url(https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/06\/Empowering-a-distributed-workforce.png?format=webp)\"><\/div><\/div><div class=\"signup_wrap\"><h5>Signup for 14 days free trial<\/h5><p>If you like to know more about the custom script execution via UEM, try out yourself in Hexnode today. <\/p><a href=\"https:\/\/www.hexnode.com\/mobile-device-management\/cloud\/signup\/?utm_source=scripting_best_practices&utm_medium=referral&utm_campaign=trial_sign_up_box\" class=\"hn-cta__blogs--signup-stripe\" target=\"_blank\"> Sign up now<\/a><\/div><\/div><br \/>\nI hope you now have some idea on using your skills well in writing robust and reliable scripts. Following these scripting best practices is sure to minimize your downtime and will definitely help you deliver better business values out of scripts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scripting can sometimes be as much complex as in-depth programming. With the same chaos being&#8230;<\/p>\n","protected":false},"author":11,"featured_media":10608,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2021],"tags":[4948,4835],"class_list":["post-10589","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-best-practices","tag-modern-workplace","tag-scripting","tab_group-immersive-reads"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Scripting best practices every IT admin must follow<\/title>\n<meta name=\"description\" content=\"Here&#039;s a scripting best practices guide to help IT admins script more efficiently to accomplish their daily management tasks in a quick and automated way.\" \/>\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.hexnode.com\/blogs\/scripting-best-practices\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scripting best practices every IT admin must follow\" \/>\n<meta property=\"og:description\" content=\"Here&#039;s a scripting best practices guide to help IT admins script more efficiently to accomplish their daily management tasks in a quick and automated way.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/\" \/>\n<meta property=\"og:site_name\" content=\"Hexnode Blogs\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-10T06:51:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-19T12:19:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/06\/23143600\/Scripting-best-practices.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"688\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Alma Evans\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alma Evans\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/\",\"url\":\"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/\",\"name\":\"Scripting best practices every IT admin must follow\",\"isPartOf\":{\"@id\":\"https:\/\/www.hexnode.com\/blogs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/06\/Scripting-best-practices.png?format=webp\",\"datePublished\":\"2021-06-10T06:51:14+00:00\",\"dateModified\":\"2024-01-19T12:19:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.hexnode.com\/blogs\/#\/schema\/person\/38b677316f582329f5f63b7147ce2745\"},\"description\":\"Here's a scripting best practices guide to help IT admins script more efficiently to accomplish their daily management tasks in a quick and automated way.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/#primaryimage\",\"url\":\"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/06\/Scripting-best-practices.png?format=webp\",\"contentUrl\":\"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/06\/Scripting-best-practices.png?format=webp\",\"width\":1280,\"height\":688,\"caption\":\"Scripting best practices\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.hexnode.com\/blogs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Scripting best practices every IT admin must follow\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hexnode.com\/blogs\/#website\",\"url\":\"https:\/\/www.hexnode.com\/blogs\/\",\"name\":\"Hexnode Blogs\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hexnode.com\/blogs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hexnode.com\/blogs\/#\/schema\/person\/38b677316f582329f5f63b7147ce2745\",\"name\":\"Alma Evans\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hexnode.com\/blogs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/829ecac154dc1646d525cfd592aff91acacc535c7aec148040d94fb60de84e28?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/829ecac154dc1646d525cfd592aff91acacc535c7aec148040d94fb60de84e28?s=96&d=mm&r=g\",\"caption\":\"Alma Evans\"},\"description\":\"Product Marketing @ Hexnode. Exploring the digital frontier, one line of wonder at a time...\",\"url\":\"https:\/\/www.hexnode.com\/blogs\/author\/amina\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Scripting best practices every IT admin must follow","description":"Here's a scripting best practices guide to help IT admins script more efficiently to accomplish their daily management tasks in a quick and automated way.","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.hexnode.com\/blogs\/scripting-best-practices\/","og_locale":"en_US","og_type":"article","og_title":"Scripting best practices every IT admin must follow","og_description":"Here's a scripting best practices guide to help IT admins script more efficiently to accomplish their daily management tasks in a quick and automated way.","og_url":"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/","og_site_name":"Hexnode Blogs","article_published_time":"2021-06-10T06:51:14+00:00","article_modified_time":"2024-01-19T12:19:00+00:00","og_image":[{"width":1280,"height":688,"url":"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/06\/23143600\/Scripting-best-practices.png","type":"image\/png"}],"author":"Alma Evans","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alma Evans","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/","url":"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/","name":"Scripting best practices every IT admin must follow","isPartOf":{"@id":"https:\/\/www.hexnode.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/#primaryimage"},"image":{"@id":"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/06\/Scripting-best-practices.png?format=webp","datePublished":"2021-06-10T06:51:14+00:00","dateModified":"2024-01-19T12:19:00+00:00","author":{"@id":"https:\/\/www.hexnode.com\/blogs\/#\/schema\/person\/38b677316f582329f5f63b7147ce2745"},"description":"Here's a scripting best practices guide to help IT admins script more efficiently to accomplish their daily management tasks in a quick and automated way.","breadcrumb":{"@id":"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/#primaryimage","url":"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/06\/Scripting-best-practices.png?format=webp","contentUrl":"https:\/\/cdn.hexnode.com\/blogs\/wp-content\/uploads\/2021\/06\/Scripting-best-practices.png?format=webp","width":1280,"height":688,"caption":"Scripting best practices"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hexnode.com\/blogs\/scripting-best-practices\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hexnode.com\/blogs\/"},{"@type":"ListItem","position":2,"name":"Scripting best practices every IT admin must follow"}]},{"@type":"WebSite","@id":"https:\/\/www.hexnode.com\/blogs\/#website","url":"https:\/\/www.hexnode.com\/blogs\/","name":"Hexnode Blogs","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hexnode.com\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.hexnode.com\/blogs\/#\/schema\/person\/38b677316f582329f5f63b7147ce2745","name":"Alma Evans","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hexnode.com\/blogs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/829ecac154dc1646d525cfd592aff91acacc535c7aec148040d94fb60de84e28?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/829ecac154dc1646d525cfd592aff91acacc535c7aec148040d94fb60de84e28?s=96&d=mm&r=g","caption":"Alma Evans"},"description":"Product Marketing @ Hexnode. Exploring the digital frontier, one line of wonder at a time...","url":"https:\/\/www.hexnode.com\/blogs\/author\/amina\/"}]}},"_links":{"self":[{"href":"https:\/\/www.hexnode.com\/blogs\/wp-json\/wp\/v2\/posts\/10589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hexnode.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexnode.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/blogs\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/blogs\/wp-json\/wp\/v2\/comments?post=10589"}],"version-history":[{"count":39,"href":"https:\/\/www.hexnode.com\/blogs\/wp-json\/wp\/v2\/posts\/10589\/revisions"}],"predecessor-version":[{"id":27568,"href":"https:\/\/www.hexnode.com\/blogs\/wp-json\/wp\/v2\/posts\/10589\/revisions\/27568"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hexnode.com\/blogs\/wp-json\/wp\/v2\/media\/10608"}],"wp:attachment":[{"href":"https:\/\/www.hexnode.com\/blogs\/wp-json\/wp\/v2\/media?parent=10589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexnode.com\/blogs\/wp-json\/wp\/v2\/categories?post=10589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexnode.com\/blogs\/wp-json\/wp\/v2\/tags?post=10589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}