{"id":3712,"date":"2018-08-17T11:27:34","date_gmt":"2018-08-17T11:27:34","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=3712"},"modified":"2021-01-11T16:40:28","modified_gmt":"2021-01-11T11:10:28","slug":"file-upload-with-box-using-ruby-on-rails","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/","title":{"rendered":"Ruby on Rails App: Uploading files using box"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What is box?<\/h2>\n\n\n\n<p>Box is a cloud-based service that allows users to securely store, access, share, and collaborate on files across devices.<\/p>\n\n\n\n<p>Box also offers an open platform with APIs and SDKs, known as the Box Platform, that developers can use for a variety of purposes.<\/p>\n\n\n\n<p>Our main purpose is to upload a file in Box using <a href=\"https:\/\/github.com\/cburnette\/boxr\" target=\"_blank\" rel=\"noopener noreferrer\">boxr<\/a> gem.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to integrate box?<\/h3>\n\n\n\n<p>First of all, we need to create one account and an application on <a href=\"https:\/\/www.box.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Box platform<\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a href=\"https:\/\/account.box.com\/signup\/n\/developer#pkqbw\" target=\"_blank\" rel=\"noopener noreferrer\">Sign up for a Box Developer Account<\/a>.<\/h4>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"664\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer1.png\" alt=\"Box Developer\" class=\"wp-image-13604\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer1.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer1-300x249.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer1-768x637.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Create a new application by clicking <b>My Apps<\/b> from left side panel in <a href=\"https:\/\/account.box.com\/login?redirect_url=%2Fdevelopers%2Fconsole\" target=\"_blank\" rel=\"noopener noreferrer\">developers console<\/a>.<\/h4>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"483\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer2-1.png\" alt=\"Create a new application by clicking My App using Box Developer dashboard\" class=\"wp-image-13605\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer2-1.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer2-1-300x181.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer2-1-768x464.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Select Standard OAuth 2.0 (User Authentication) for the new application.<\/h4>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"522\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer3.png\" alt=\"Box Developer - User Authentication\" class=\"wp-image-13606\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer3.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer3-300x196.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Box-Developer3-768x501.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n\n<p>After creating the application in box account, it will redirect you to application&#8217;s configuration page having <b>Developer Token, Client ID and Client Secret.<\/b> For one time authentication of our application, we need to set <b>Redirect URI.<\/b> This is the URL of our Rails Application (Must be secure). Set URI like,<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><code>https:\/\/90e9452e.ngrok.io\/token_catcher<\/code><\/p><\/blockquote>\n\n\n\n<p>Now, install <a href=\"https:\/\/github.com\/cburnette\/boxr\" target=\"_blank\" rel=\"noopener noreferrer\">boxr gem<\/a> in our rails application and create one table to store access token and refresh token of a box for future use as box&#8217;s developer token (access token) expires in an hour.<\/p>\n\n\n\n<p>In Rails console, run the following commands.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><code>BOX_CLIENT_ID=YOUR CLIENT ID<br>\nBOX_CLIENT_SECRET=YOUR CLIENT SECRET<br>\nrequire 'boxr'<br>\nrequire 'dotenv'<br>\nDotenv.load(\".\/.envoauth\")<br>\noauth_url = Boxr::oauth_url(URI.encode_www_form_component('1233'))<\/code><\/p><\/blockquote>\n\n\n\n<p>Now redirect to <code><i>oauth_url<\/i><\/code> (pass client Id at the end of url if not present). And click on <code><i><b>Grant Access<\/b><\/i><\/code> button, it will redirect to your <code><i>token_catcher<\/i><\/code> method.<\/p>\n\n\n\n<p>Below is the code snippet of <i>token_catcher<\/i> method.<br><script src=\"https:\/\/gist.github.com\/NaiyaShah-BTC\/a65b24222f0cd7055c415c4ab81dd566.js\"><\/script><\/p>\n\n\n\n<p>Now, If you want <code><i>Boxr<\/i><\/code> to automatically refresh the tokens once the access token becomes invalid you can supply a refresh token, along with your <code><i>client_id<\/i><\/code> and <code><i>client_secret<\/i><\/code>, and a block that will get invoked when the refresh occurs.<\/p>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/NaiyaShah-BTC\/154dffcbd31b7f78a115f6012b6da865.js\"><\/script><\/p>\n\n\n\n<p>To upload a file, first, we create one folder in box to store it, for example, images folder in our box application.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"635\" height=\"549\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/box-application.png\" alt=\"box application\" class=\"wp-image-13607\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/box-application.png 635w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/box-application-300x259.png 300w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\" \/><\/figure><\/div>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/NaiyaShah-BTC\/c93e702f6c4281359fec0c207a0a2766.js\"><\/script><\/p>\n\n\n\n<p>The above code will upload a file to the specified folder and will provide the public link for the same. You can control access by specifying different options. I will cover that in my next blog.<\/p>\n\n\n\n<p>That&#8217;s it! Have a happy coding.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\"><strong><b>Click here for more<\/b> details&#8230;<\/strong><\/a><\/p>\n\n\n\n<p>At<a href=\"https:\/\/www.botreetechnologies.com\/\"> BoTree Technologies<\/a>, we build enterprise applications with our RoR team of 25+ engineers.<\/p>\n\n\n\n<p>We also specialize in Python, RPA, AI, Django, JavaScript and ReactJS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.botreetechnologies.com\/contact\">Consulting is free<\/a> &#8211; let us help you grow!<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>What is box? Box is a cloud-based service that allows&#8230;<\/p>\n","protected":false},"author":24,"featured_media":13603,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,10],"tags":[],"class_list":["post-3712","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>Ruby on Rails App: Uploading files using box<\/title>\n<meta name=\"description\" content=\"Integrate box with Ruby on Rails development for cloud storage. Use the boxr RubyGem in Ruby on Rails project for integration.\" \/>\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\/file-upload-with-box-using-ruby-on-rails\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ruby on Rails App: Uploading files using box\" \/>\n<meta property=\"og:description\" content=\"Integrate box with Ruby on Rails development for cloud storage. Use the boxr RubyGem in Ruby on Rails project for integration.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/\" \/>\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-08-17T11:27:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-11T11:10:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/08\/box-using-ruby-on-rails.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Naiya Shah\" \/>\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=\"Naiya Shah\" \/>\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\/file-upload-with-box-using-ruby-on-rails\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/\"},\"author\":{\"name\":\"Naiya Shah\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/68f8340395086b417feb15b21211bf8c\"},\"headline\":\"Ruby on Rails App: Uploading files using box\",\"datePublished\":\"2018-08-17T11:27:34+00:00\",\"dateModified\":\"2021-01-11T11:10:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/\"},\"wordCount\":383,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/08\/box-using-ruby-on-rails.jpg\",\"articleSection\":[\"Ruby on Rails\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/\",\"name\":\"Ruby on Rails App: Uploading files using box\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/08\/box-using-ruby-on-rails.jpg\",\"datePublished\":\"2018-08-17T11:27:34+00:00\",\"dateModified\":\"2021-01-11T11:10:28+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/68f8340395086b417feb15b21211bf8c\"},\"description\":\"Integrate box with Ruby on Rails development for cloud storage. Use the boxr RubyGem in Ruby on Rails project for integration.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/08\/box-using-ruby-on-rails.jpg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/08\/box-using-ruby-on-rails.jpg\",\"width\":1920,\"height\":1280,\"caption\":\"Uploading files using box\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ruby on Rails App: Uploading files using box\"}]},{\"@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\/68f8340395086b417feb15b21211bf8c\",\"name\":\"Naiya Shah\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/naiya-shah-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/naiya-shah-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/naiya-shah-150x150.png\",\"caption\":\"Naiya Shah\"},\"description\":\"Naiya is a Ruby on Rails Developer. She developes applications with optimization and clean code with full Rspec coverage. She works in Javascript as well and she digs into anything new really quickly and comes up with a solution. Her leisure activities include travelling and watching movies.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ruby on Rails App: Uploading files using box","description":"Integrate box with Ruby on Rails development for cloud storage. Use the boxr RubyGem in Ruby on Rails project for integration.","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\/file-upload-with-box-using-ruby-on-rails\/","og_locale":"en_US","og_type":"article","og_title":"Ruby on Rails App: Uploading files using box","og_description":"Integrate box with Ruby on Rails development for cloud storage. Use the boxr RubyGem in Ruby on Rails project for integration.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2018-08-17T11:27:34+00:00","article_modified_time":"2021-01-11T11:10:28+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/08\/box-using-ruby-on-rails.jpg","type":"image\/jpeg"}],"author":"Naiya Shah","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Naiya Shah","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/"},"author":{"name":"Naiya Shah","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/68f8340395086b417feb15b21211bf8c"},"headline":"Ruby on Rails App: Uploading files using box","datePublished":"2018-08-17T11:27:34+00:00","dateModified":"2021-01-11T11:10:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/"},"wordCount":383,"commentCount":0,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/08\/box-using-ruby-on-rails.jpg","articleSection":["Ruby on Rails","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/","url":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/","name":"Ruby on Rails App: Uploading files using box","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/08\/box-using-ruby-on-rails.jpg","datePublished":"2018-08-17T11:27:34+00:00","dateModified":"2021-01-11T11:10:28+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/68f8340395086b417feb15b21211bf8c"},"description":"Integrate box with Ruby on Rails development for cloud storage. Use the boxr RubyGem in Ruby on Rails project for integration.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/08\/box-using-ruby-on-rails.jpg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2018\/08\/box-using-ruby-on-rails.jpg","width":1920,"height":1280,"caption":"Uploading files using box"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/file-upload-with-box-using-ruby-on-rails\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Ruby on Rails App: Uploading files using box"}]},{"@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\/68f8340395086b417feb15b21211bf8c","name":"Naiya Shah","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/naiya-shah-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/naiya-shah-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/naiya-shah-150x150.png","caption":"Naiya Shah"},"description":"Naiya is a Ruby on Rails Developer. She developes applications with optimization and clean code with full Rspec coverage. She works in Javascript as well and she digs into anything new really quickly and comes up with a solution. Her leisure activities include travelling and watching movies."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/3712","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\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=3712"}],"version-history":[{"count":2,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/3712\/revisions"}],"predecessor-version":[{"id":14908,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/3712\/revisions\/14908"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/13603"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=3712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=3712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=3712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}