{"id":3590,"date":"2018-06-25T04:20:14","date_gmt":"2018-06-25T04:20:14","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=3590"},"modified":"2021-01-08T11:44:43","modified_gmt":"2021-01-08T06:14:43","slug":"integrate-redux-form-in-react-validation-part-2","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/","title":{"rendered":"Integrate Redux &#8211; Form In React &#8211; Validation &#8211; Part 2"},"content":{"rendered":"\n<p>In my last blog <a href=\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-your-react-app-part-1\" target=\"_blank\" rel=\"noopener noreferrer\">Integrate redux-form in your React App &#8211; Part 1<\/a> I explained how to integrate <i>redux-form<\/i> in our react-app. Now in this part, we will learn how to validate our <i>redux-from<\/i>.<\/p>\n\n\n\n<p>We use <i>Field<\/i> component from <i>redux-form<\/i> to build our form. The <i>Field<\/i> component is how you connect each individual input to the Redux store. Let&#8217;s see how to achieve Field-level validation in <i>redux-form<\/i>.<\/p>\n\n\n\n<p>We start with our &#8220;First Name&#8221; text field component.<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/santosh-btc\/ac14e5f1f0a64dcd5d2255aa378e06c5.js\"><\/script><\/p>\n\n\n\n<p>To apply validation on <i>firstName<\/i> field, we have to define a validation function in our form. The parameters to the validation function are,<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>value &#8211; The current value of the field<\/li><li>allValues &#8211; The values of the entire form<\/li><li>props &#8211; Any props passed to the form<\/li><\/ul>\n\n\n\n<p>If the <i>value<\/i> is valid, the validation function should return <i>undefined<\/i>.<\/p>\n\n\n\n<p>If the <i>value<\/i> is invalid, the validation function should return an error.<\/p>\n\n\n\n<p>Our validate Function should look like following.<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/santosh-btc\/4e17999d312a8481f78e2a08fcf3aebb.js\"><\/script><\/p>\n\n\n\n<p>In our validate function, it takes one parameter <i>values<\/i>, which is an object of form&#8217;s values. So now we are checking if our <i>firstName<\/i> is empty or not.<\/p>\n\n\n\n<p>Now we have to give our validate function to <i>redux-form<\/i> as following.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><code>export default reduxForm({form: 'simple', validate})(SimpleForm);<\/code><\/p><\/blockquote>\n\n\n\n<p>Now It&#8217;s time to refactor our form&#8217;s text field component as following.<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/santosh-btc\/db36b456163f1721e84093ec4625b448.js\"><\/script><\/p>\n\n\n\n<p>Inthe above code, we use meta props of redux-form&#8217;s Field component. The props under the <i>meta<\/i> key are metadata about the state of this field that <i>redux-form<\/i> is tracking for you. Here we use two meta props <i>touch<\/i> and <i>error<\/i>,<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><i>touch<\/i>: it returns <i>true<\/i> if the field has been touched. By default, this will be set when the field is blurred.<\/li><li><i>error<\/i>: The error for this field if its value is not passing validation.<\/li><\/ol>\n\n\n\n<p>for more details of meta props, refer the following link:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><a href=\"https:\/\/redux-form.com\/7.4.2\/docs\/api\/field.md\/#meta-props\" target=\"_blank\" rel=\"noopener noreferrer\"><b>Redux Form<\/b> <i>The Field component is how you connect each individual input to the Redux store. There are three fundamental things&#8230;<\/i> redux-form.com<\/a><\/p><\/blockquote>\n\n\n\n<p>Our <i>First Name<\/i> text field component should look as following,<br><script src=\"https:\/\/gist.github.com\/santosh-btc\/e1e7c2bfbe30f2f71b69d4ee9768f5c0.js\"><\/script><\/p>\n\n\n\n<p>So finally our <i>SimpleForm.js<\/i> Look like as following,<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/santosh-btc\/89943da49b31326e86dee904446cc713.js\">redux-form validation<\/script><\/p>\n\n\n\n<p>You can find the whole source code <a href=\"https:\/\/github.com\/santosh-btc\/react-with-redux-form\/tree\/redux-form-validation\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">References<\/h4>\n\n\n\n<ol class=\"wp-block-list\"><li><a href=\"https:\/\/redux-form.com\/7.4.2\/examples\/fieldlevelvalidation\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/redux-form.com\/7.4.2\/examples\/fieldlevelvalidation\/<\/a><\/li><li><a href=\"https:\/\/redux-form.com\/7.4.2\/docs\/api\/field.md\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/redux-form.com\/7.4.2\/docs\/api\/field.md\/<\/a><\/li><\/ol>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><i>At&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><b>BoTree Technologies<\/b><\/a>, we build web and&nbsp;mobile applications&nbsp;to add value to our client\u2019s business. We align ourselves to ensure that our client benefits the most out of our engagement.<\/i><\/p>\n\n\n\n<p><i>We work in&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails\" target=\"_blank\" rel=\"noopener noreferrer\">Ruby on Rails<\/a>,&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/python\" target=\"_blank\" rel=\"noopener noreferrer\">Python<\/a>, Java,&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/react-native-development\" target=\"_blank\" rel=\"noopener noreferrer\">React<\/a>, Android and iOS.<\/i><\/p>\n\n\n\n<p><i><a href=\"https:\/\/www.botreetechnologies.com\/contact\" target=\"_blank\" rel=\"noopener noreferrer\">Drop us a line<\/a>&nbsp;to discuss how can we help take your business to the next level.<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my last blog Integrate redux-form in your React App&#8230;<\/p>\n","protected":false},"author":7,"featured_media":14377,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,10],"tags":[],"class_list":["post-3590","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-on-rails","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Integrate Redux - Form In React - Validation - Part 2<\/title>\n<meta name=\"description\" content=\"In my last blog Part 1 I explained how to integrate redux-form in our react-app. Now in this part, we will learn how to validate our redux-from.\" \/>\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.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Integrate Redux - Form In React - Validation - Part 2\" \/>\n<meta property=\"og:description\" content=\"In my last blog Part 1 I explained how to integrate redux-form in our react-app. Now in this part, we will learn how to validate our redux-from.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/\" \/>\n<meta property=\"og:site_name\" content=\"BoTree Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BoTreeTechnologies\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-25T04:20:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-08T06:14:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/06\/Integrate-redux-form-in-react\u200a.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"852\" \/>\n\t<meta property=\"og:image:height\" content=\"479\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Shardul Bhatt\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:site\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shardul Bhatt\" \/>\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.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/\"},\"author\":{\"name\":\"Shardul Bhatt\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/101411d1d5b152c35ea87f092ce11f0e\"},\"headline\":\"Integrate Redux &#8211; Form In React &#8211; Validation &#8211; Part 2\",\"datePublished\":\"2018-06-25T04:20:14+00:00\",\"dateModified\":\"2021-01-08T06:14:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/\"},\"wordCount\":434,\"commentCount\":1,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/06\/Integrate-redux-form-in-react\u200a.jpg\",\"articleSection\":[\"Ruby on Rails\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/\",\"name\":\"Integrate Redux - Form In React - Validation - Part 2\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/06\/Integrate-redux-form-in-react\u200a.jpg\",\"datePublished\":\"2018-06-25T04:20:14+00:00\",\"dateModified\":\"2021-01-08T06:14:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/101411d1d5b152c35ea87f092ce11f0e\"},\"description\":\"In my last blog Part 1 I explained how to integrate redux-form in our react-app. Now in this part, we will learn how to validate our redux-from.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/06\/Integrate-redux-form-in-react\u200a.jpg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/06\/Integrate-redux-form-in-react\u200a.jpg\",\"width\":852,\"height\":479,\"caption\":\"Integrate Redux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integrate Redux &#8211; Form In React &#8211; Validation &#8211; Part 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/\",\"name\":\"BoTree Technologies\",\"description\":\"Committed to inspire generation.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/101411d1d5b152c35ea87f092ce11f0e\",\"name\":\"Shardul Bhatt\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/shardul-bhatt-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/shardul-bhatt-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/shardul-bhatt-150x150.png\",\"caption\":\"Shardul Bhatt\"},\"description\":\"Shardul strongly believes that the potential to surpass expectations is inherent to each individual. He is committed to helping each and every member at BoTree achieve their dreams and get the most out of their lives. He has a strong technical background and has been in the industry since 2002. He is building BoTree since 2012. He loves to read, exchange ideas and travel.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Integrate Redux - Form In React - Validation - Part 2","description":"In my last blog Part 1 I explained how to integrate redux-form in our react-app. Now in this part, we will learn how to validate our redux-from.","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.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/","og_locale":"en_US","og_type":"article","og_title":"Integrate Redux - Form In React - Validation - Part 2","og_description":"In my last blog Part 1 I explained how to integrate redux-form in our react-app. Now in this part, we will learn how to validate our redux-from.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2018-06-25T04:20:14+00:00","article_modified_time":"2021-01-08T06:14:43+00:00","og_image":[{"width":852,"height":479,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/06\/Integrate-redux-form-in-react\u200a.jpg","type":"image\/jpeg"}],"author":"Shardul Bhatt","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Shardul Bhatt","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/"},"author":{"name":"Shardul Bhatt","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/101411d1d5b152c35ea87f092ce11f0e"},"headline":"Integrate Redux &#8211; Form In React &#8211; Validation &#8211; Part 2","datePublished":"2018-06-25T04:20:14+00:00","dateModified":"2021-01-08T06:14:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/"},"wordCount":434,"commentCount":1,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/06\/Integrate-redux-form-in-react\u200a.jpg","articleSection":["Ruby on Rails","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/","url":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/","name":"Integrate Redux - Form In React - Validation - Part 2","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/06\/Integrate-redux-form-in-react\u200a.jpg","datePublished":"2018-06-25T04:20:14+00:00","dateModified":"2021-01-08T06:14:43+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/101411d1d5b152c35ea87f092ce11f0e"},"description":"In my last blog Part 1 I explained how to integrate redux-form in our react-app. Now in this part, we will learn how to validate our redux-from.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/06\/Integrate-redux-form-in-react\u200a.jpg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/06\/Integrate-redux-form-in-react\u200a.jpg","width":852,"height":479,"caption":"Integrate Redux"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-redux-form-in-react-validation-part-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Integrate Redux &#8211; Form In React &#8211; Validation &#8211; Part 2"}]},{"@type":"WebSite","@id":"https:\/\/www.botreetechnologies.com\/blog\/#website","url":"https:\/\/www.botreetechnologies.com\/blog\/","name":"BoTree Technologies","description":"Committed to inspire generation.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/101411d1d5b152c35ea87f092ce11f0e","name":"Shardul Bhatt","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/shardul-bhatt-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/shardul-bhatt-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/shardul-bhatt-150x150.png","caption":"Shardul Bhatt"},"description":"Shardul strongly believes that the potential to surpass expectations is inherent to each individual. He is committed to helping each and every member at BoTree achieve their dreams and get the most out of their lives. He has a strong technical background and has been in the industry since 2002. He is building BoTree since 2012. He loves to read, exchange ideas and travel."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/3590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=3590"}],"version-history":[{"count":2,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/3590\/revisions"}],"predecessor-version":[{"id":14868,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/3590\/revisions\/14868"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/14377"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=3590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=3590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=3590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}