{"id":1525,"date":"2017-12-18T07:00:48","date_gmt":"2017-12-18T01:30:48","guid":{"rendered":"http:\/\/www.upnxtblog.com\/?p=1525"},"modified":"2020-12-21T18:25:37","modified_gmt":"2020-12-21T12:55:37","slug":"azure-functions-tutorial-on-http-trigger-store-data-in-cosmos-db","status":"publish","type":"post","link":"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/18\/azure-functions-tutorial-on-http-trigger-store-data-in-cosmos-db\/","title":{"rendered":"Serverless tutorial &#8211; On HTTP trigger store data in Azure Cosmos DB"},"content":{"rendered":"<div class='booster-block booster-read-block'><\/div><p>In the last <a href=\"http:\/\/www.upnxtblog.com\/index.php\/2017\/12\/13\/invoke-azure-functions-using-http-trigger\/\">tutorial<\/a>, we have created a new hello world function from the Azure portal. <strong><a href=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/13\/invoke-azure-functions-using-http-trigger\/\">Azure Functions<\/a><\/strong> lets you execute your code in a serverless environment without having to first create a VM or publish a web application. In Azure Functions, input and output bindings provide a declarative way to connect to external service data from your function.<\/p>\n<p>In this tutorial, we are going to check <strong>how to update the function we have created to have an output binding to store the data<\/strong>. Azure Functions allows writing code in response to events in Azure and other services, through triggers and bindings.<\/p>\n\n<h2>Triggers and Bindings<\/h2>\n<p><strong>Triggers<\/strong> and <strong>bindings<\/strong> are a declarative way to define how a function is invoked and what data it works with. A Trigger defines how a function is invoked. Triggers have associated data, which is usually the payload that triggered the function.<\/p>\n<p><strong>Input and output bindings <\/strong>provide a declarative way to connect to data from within your code. We can specify connection strings and other properties in function configuration. Bindings are optional and a function can have multiple inputs and output bindings.<\/p>\n<p>Using triggers and bindings, we can write code that is more generic and does not hardcode the details of the services with which it interacts. Data coming from services become input values for the function code.<\/p>\n<p>To output data to another service (such as creating\/updation of a new row in Azure Table Storage), use the return value of the method.<\/p>\n<p>Some of the input and output bindings are given below :<\/p>\n<ul>\n<li>Blob Storage<\/li>\n<li>Cosmos DB<\/li>\n<li>Event Hubs<\/li>\n<li>External File<\/li>\n<li>External Table<\/li>\n<li>HTTP<\/li>\n<li>Microsoft Graph<\/li>\n<li>Excel tables<\/li>\n<li>Microsoft Graph<\/li>\n<li>OneDrive files<\/li>\n<li>Microsoft Graph<\/li>\n<li>Outlook email<\/li>\n<li>Microsoft Graph<\/li>\n<li>Events<\/li>\n<li>Mobile Apps<\/li>\n<li>Notification Hubs<\/li>\n<li>Queue storage<\/li>\n<li>SendGrid<\/li>\n<li>Service Bus<\/li>\n<li>Table storage<\/li>\n<li>Twilio<\/li>\n<li>Webhooks<\/li>\n<\/ul>\n<p>Now that we have learned about triggers, input, and output bindings, our next step would be to use the same function that we created earlier to add an output binding that stores unstructured data in a Cosmos DB document storage.<\/p>\n<p><a href=\"https:\/\/www.upnxtblog.com\/index.php\/2020\/05\/04\/hot-path-analytics-with-cosmosdb-and-azure-stream-analytics\/\"><strong>Azure Cosmos DB<\/strong><\/a> is Microsoft&#8217;s globally distributed, multi-model database. With the click of a button, Azure Cosmos DB enables you to elastically and independently scale throughput and storage across any number of Azure&#8217;s geographic regions. It offers throughput, latency, availability, and consistency guarantees with comprehensive service level agreements (SLAs), something no other database service can offer.<\/p>\n<p>You can <a href=\"https:\/\/azure.microsoft.com\/try\/cosmosdb\/\" data-linktype=\"external\" target=\"_blank\" rel=\"noopener\">Try Azure Cosmos DB for free<\/a> without an Azure subscription, free of charge, and commitments.<\/p>\n<h2>Azure Cosmos DB<\/h2>\n<figure style=\"width: 1280px\" class=\"wp-caption alignnone\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-large lazyload\" data-src=\"https:\/\/i0.wp.com\/docs.microsoft.com\/en-us\/azure\/cosmos-db\/media\/introduction\/azure-cosmos-db.png?resize=1140%2C684&#038;ssl=1\" alt=\"Azure Cosmos DB\" width=\"1140\" height=\"684\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1140px; --smush-placeholder-aspect-ratio: 1140\/684;\" \/><figcaption class=\"wp-caption-text\">Image &#8211; Azure Cosmos DB<\/figcaption><\/figure>\n<p>As a globally distributed database service, Azure Cosmos DB provides the following capabilities to help you build scalable, highly responsive applications:<\/p>\n<h3>Key Capabilities<\/h3>\n<ul>\n<li><strong>Turnkey global distribution<\/strong> &#8211;\u00a0You can distribute your data to any number of Azure regions, with the click of a button. This enables you to put your data where your users are, ensuring the lowest possible latency to your customers.<\/li>\n<li><strong>Multiple data models and popular APIs for accessing and querying data<\/strong> &#8211;\u00a0APIs for the following data models are supported with SDKs available in multiple languages:\n<ul>\n<li><strong>DocumentDB API:<\/strong> A schema-less JSON database engine with SQL querying capabilities.<\/li>\n<li><strong>MongoDB API:<\/strong> A MongoDB database service built on top of Cosmos DB.<\/li>\n<li><strong>Table API:<\/strong> A key-value database service built to provide premium capabilities for Azure Table storage applications.<\/li>\n<li><strong>Graph (Gremlin) API:<\/strong> A graph database service built following the <a href=\"http:\/\/tinkerpop.apache.org\/\" data-linktype=\"external\" target=\"_blank\" rel=\"noopener\">Apache TinkerPop specification<\/a>.<\/li>\n<li><strong>Cassandra API:<\/strong> A key\/value store built on the <a href=\"https:\/\/www.upnxtblog.com\/index.php\/2020\/05\/11\/portworx-tutorial-demonstrate-ha-cassandra-stateful-application\/\">Apache Cassandra<\/a> implementation.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Elastically scale throughput and storage on demand, worldwide\u00a0<\/strong><\/li>\n<li><strong>Support for highly responsive and mission-critical applications<\/strong><\/li>\n<li><strong>&#8220;always on&#8221; availability<\/strong><\/li>\n<li><strong>No database schema\/index management<\/strong><\/li>\n<\/ul>\n<p>The best use case for Azure Cosmos DB would be any web, mobile, gaming, and IoT applications that need to handle massive amounts of reads and writes on a global scale with low response times for a variety of data will benefit from Azure Cosmos DB&#8217;s guaranteed availability, high throughput, low latency, and tunable consistency.<\/p>\n<p>The next step would be to use the same function that we created earlier to add an output binding that stores unstructured data in a Cosmos DB document storage.<\/p>\n<h2>Step #1 : Add Output binding to the existing function<\/h2>\n<ul>\n<li>Once you login to the Azure management portal, under the function app expand your function.\n<p><figure id=\"attachment_1531\" aria-describedby=\"caption-attachment-1531\" style=\"width: 732px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1531\" data-permalink=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/18\/azure-functions-tutorial-on-http-trigger-store-data-in-cosmos-db\/afs1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs1.png?fit=732%2C559&amp;ssl=1\" data-orig-size=\"732,559\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"afs1\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Image &amp;#8211; Azure portal &lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs1.png?fit=732%2C559&amp;ssl=1\" class=\"size-full wp-image-1531 lazyload\" data-src=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs1.png?resize=732%2C559\" alt=\"Azure portal \" width=\"732\" height=\"559\" data-srcset=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs1.png?w=732&amp;ssl=1 732w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs1.png?resize=300%2C229&amp;ssl=1 300w\" data-sizes=\"auto, (max-width: 732px) 100vw, 732px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 732px; --smush-placeholder-aspect-ratio: 732\/559;\" \/><figcaption id=\"caption-attachment-1531\" class=\"wp-caption-text\">Image &#8211; Azure portal<\/figcaption><\/figure><\/li>\n<li>Select Integrate option (under Function app)\n<p><figure id=\"attachment_1532\" aria-describedby=\"caption-attachment-1532\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1532\" data-permalink=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/18\/azure-functions-tutorial-on-http-trigger-store-data-in-cosmos-db\/afs2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs2.png?fit=1106%2C572&amp;ssl=1\" data-orig-size=\"1106,572\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"afs2\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Image &amp;#8211; Azure Function App&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs2.png?fit=1024%2C530&amp;ssl=1\" class=\"size-large wp-image-1532 lazyload\" data-src=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs2-1024x530.png?resize=1024%2C530\" alt=\"Azure Function App\" width=\"1024\" height=\"530\" data-srcset=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs2.png?resize=1024%2C530&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs2.png?resize=300%2C155&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs2.png?resize=768%2C397&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs2.png?resize=1100%2C569&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs2.png?w=1106&amp;ssl=1 1106w\" data-sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/530;\" \/><figcaption id=\"caption-attachment-1532\" class=\"wp-caption-text\">Image &#8211; Azure Function App<\/figcaption><\/figure><\/li>\n<li>Click on New Output under Outputs drop-down (top right corner)\n<p><figure id=\"attachment_1533\" aria-describedby=\"caption-attachment-1533\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1533\" data-permalink=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/18\/azure-functions-tutorial-on-http-trigger-store-data-in-cosmos-db\/afs3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs3.png?fit=1109%2C595&amp;ssl=1\" data-orig-size=\"1109,595\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"afs3\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Image &amp;#8211; Azure Function &lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs3.png?fit=1024%2C549&amp;ssl=1\" class=\"size-large wp-image-1533 lazyload\" data-src=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs3-1024x549.png?resize=1024%2C549\" alt=\"Azure Function \" width=\"1024\" height=\"549\" data-srcset=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs3.png?resize=1024%2C549&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs3.png?resize=300%2C161&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs3.png?resize=768%2C412&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs3.png?resize=1100%2C590&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs3.png?w=1109&amp;ssl=1 1109w\" data-sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/549;\" \/><figcaption id=\"caption-attachment-1533\" class=\"wp-caption-text\">Image &#8211; Azure Function<\/figcaption><\/figure><\/li>\n<li>Use Azure Cosmos DB as the output binding\n<p><figure id=\"attachment_1534\" aria-describedby=\"caption-attachment-1534\" style=\"width: 841px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1534\" data-permalink=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/18\/azure-functions-tutorial-on-http-trigger-store-data-in-cosmos-db\/afs4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs4.png?fit=841%2C480&amp;ssl=1\" data-orig-size=\"841,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"afs4\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Image &amp;#8211; Azure Function&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs4.png?fit=841%2C480&amp;ssl=1\" class=\"size-full wp-image-1534 lazyload\" data-src=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs4.png?resize=841%2C480\" alt=\"Azure Function\" width=\"841\" height=\"480\" data-srcset=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs4.png?w=841&amp;ssl=1 841w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs4.png?resize=300%2C171&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs4.png?resize=768%2C438&amp;ssl=1 768w\" data-sizes=\"auto, (max-width: 841px) 100vw, 841px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 841px; --smush-placeholder-aspect-ratio: 841\/480;\" \/><figcaption id=\"caption-attachment-1534\" class=\"wp-caption-text\">Image &#8211; Azure Function<\/figcaption><\/figure><\/li>\n<\/ul>\n<h2>Step #2: Create new Azure Cosmos DB<\/h2>\n<ul>\n<li>Select New next to the Azure Cosmos DB document connection label, and select + Create new.<\/li>\n<li>Use the New account settings as specified in the table:\n<figure id=\"attachment_1535\" aria-describedby=\"caption-attachment-1535\" style=\"width: 645px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1535\" data-permalink=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/18\/azure-functions-tutorial-on-http-trigger-store-data-in-cosmos-db\/afs5\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs5.png?fit=645%2C601&amp;ssl=1\" data-orig-size=\"645,601\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"afs5\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Image &amp;#8211; Create new Azure Cosmos DB&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs5.png?fit=645%2C601&amp;ssl=1\" class=\"size-full wp-image-1535 lazyload\" data-src=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs5.png?resize=645%2C601\" alt=\"Create new Azure Cosmos DB\" width=\"645\" height=\"601\" data-srcset=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs5.png?w=645&amp;ssl=1 645w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs5.png?resize=300%2C280&amp;ssl=1 300w\" data-sizes=\"auto, (max-width: 645px) 100vw, 645px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 645px; --smush-placeholder-aspect-ratio: 645\/601;\" \/><figcaption id=\"caption-attachment-1535\" class=\"wp-caption-text\">Image &#8211; Create new Azure Cosmos DB<\/figcaption><\/figure>\n<p><figure id=\"attachment_1536\" aria-describedby=\"caption-attachment-1536\" style=\"width: 791px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1536\" data-permalink=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/18\/azure-functions-tutorial-on-http-trigger-store-data-in-cosmos-db\/afs6\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs6.png?fit=791%2C376&amp;ssl=1\" data-orig-size=\"791,376\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"afs6\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Image &amp;#8211; updated output binding&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs6.png?fit=791%2C376&amp;ssl=1\" class=\"size-full wp-image-1536 lazyload\" data-src=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs6.png?resize=791%2C376\" alt=\"updated output binding\" width=\"791\" height=\"376\" data-srcset=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs6.png?w=791&amp;ssl=1 791w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs6.png?resize=300%2C143&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs6.png?resize=768%2C365&amp;ssl=1 768w\" data-sizes=\"auto, (max-width: 791px) 100vw, 791px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 791px; --smush-placeholder-aspect-ratio: 791\/376;\" \/><figcaption id=\"caption-attachment-1536\" class=\"wp-caption-text\">Image &#8211; updated output binding<\/figcaption><\/figure><\/li>\n<\/ul>\n<figure id=\"attachment_1537\" aria-describedby=\"caption-attachment-1537\" style=\"width: 889px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1537\" data-permalink=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/18\/azure-functions-tutorial-on-http-trigger-store-data-in-cosmos-db\/afs7\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs7.png?fit=889%2C566&amp;ssl=1\" data-orig-size=\"889,566\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"afs7\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Image &amp;#8211; Update the Function code&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs7.png?fit=889%2C566&amp;ssl=1\" class=\"size-full wp-image-1537 lazyload\" data-src=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs7.png?resize=889%2C566\" alt=\"Update the Function code\" width=\"889\" height=\"566\" data-srcset=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs7.png?w=889&amp;ssl=1 889w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs7.png?resize=300%2C191&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs7.png?resize=768%2C489&amp;ssl=1 768w\" data-sizes=\"auto, (max-width: 889px) 100vw, 889px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 889px; --smush-placeholder-aspect-ratio: 889\/566;\" \/><figcaption id=\"caption-attachment-1537\" class=\"wp-caption-text\">Image &#8211; Update the Function code<\/figcaption><\/figure>\n<h2>Step #3: Verify if data has been added to Cosmos DB<\/h2>\n<figure id=\"attachment_1538\" aria-describedby=\"caption-attachment-1538\" style=\"width: 889px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1538\" data-permalink=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/18\/azure-functions-tutorial-on-http-trigger-store-data-in-cosmos-db\/afs8\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs8.png?fit=889%2C419&amp;ssl=1\" data-orig-size=\"889,419\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"afs8\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Image &amp;#8211; Azure Cosmos DB&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs8.png?fit=889%2C419&amp;ssl=1\" class=\"size-full wp-image-1538 lazyload\" data-src=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs8.png?resize=889%2C419\" alt=\"Azure Cosmos DB\" width=\"889\" height=\"419\" data-srcset=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs8.png?w=889&amp;ssl=1 889w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs8.png?resize=300%2C141&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs8.png?resize=768%2C362&amp;ssl=1 768w\" data-sizes=\"auto, (max-width: 889px) 100vw, 889px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 889px; --smush-placeholder-aspect-ratio: 889\/419;\" \/><figcaption id=\"caption-attachment-1538\" class=\"wp-caption-text\">Image &#8211; Azure Cosmos DB<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_1539\" aria-describedby=\"caption-attachment-1539\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1539\" data-permalink=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/18\/azure-functions-tutorial-on-http-trigger-store-data-in-cosmos-db\/afs9\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs9.png?fit=1142%2C584&amp;ssl=1\" data-orig-size=\"1142,584\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"afs9\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Image &amp;#8211; Data in Azure Cosmos DB&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs9.png?fit=1024%2C524&amp;ssl=1\" class=\"size-large wp-image-1539 lazyload\" data-src=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs9-1024x524.png?resize=1024%2C524\" alt=\"Data in Azure Cosmos DB\" width=\"1024\" height=\"524\" data-srcset=\"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs9.png?resize=1024%2C524&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs9.png?resize=300%2C153&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs9.png?resize=768%2C393&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs9.png?resize=1100%2C563&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/afs9.png?w=1142&amp;ssl=1 1142w\" data-sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/524;\" \/><figcaption id=\"caption-attachment-1539\" class=\"wp-caption-text\">Image &#8211; Data in Azure Cosmos DB<\/figcaption><\/figure>\n<h2>Step #4: Clean up<\/h2>\n<p>We have created resources in a resource group. If these resources are not needed, we can delete them by deleting the resource group or respective resources.<\/p>\n<p>In this tutorial, we have covered how to use the function to have an output binding and to store the data in Azure Cosmos DB.<\/p>\n<p><em><strong>Like this post? Don\u2019t forget to share it!<\/strong><\/em><\/p>\n<h2>Additional Resources :<\/h2>\n<ul>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cosmos-db\/introduction\" target=\"_blank\" rel=\"noopener\">Azure Cosmos DB<\/a><\/li>\n<li>More <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/azure-functions\/functions-bindings-documentdb\" target=\"_blank\" rel=\"noopener\">examples<\/a> using Cosmos DB<\/li>\n<li>Azure Functions Developer <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/azure-functions\/functions-reference\" target=\"_blank\" rel=\"noopener\">Guide<\/a><\/li>\n<li><a href=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/13\/invoke-azure-functions-using-http-trigger\/\">Serverless tutorial \u2013 Invoke Azure functions using HTTP Trigger<\/a><\/li>\n<li><a href=\"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/01\/serverless-comparison-aws-lambda-vs-azure-functions-vs-google-functions\/\">Serverless Comparison : AWS Lambda vs. Azure Functions vs. Google Functions<\/a><\/li>\n<li><a href=\"https:\/\/www.upnxtblog.com\/index.php\/2020\/02\/05\/visualize-iot-scale-time-series-data-using-azure-time-series-insights\/\">Visualize IoT-scale time-series data using Azure Time Series Insights<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In the last tutorial, we have created a new hello world function from the Azure portal. Azure Functions lets you execute your code in a serverless environment without having to first create a VM or publish a web application. In Azure Functions, input and output bindings provide a declarative way to connect to external service [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1488,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[146,37,312],"tags":[191,197,181],"class_list":["post-1525","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-how-to-guides","category-serverless","tag-azure-functions","tag-cosmosdb","tag-serverless"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/azure-function-logo.jpg?fit=600%2C350&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9fbQS-oB","jetpack-related-posts":[{"id":2749,"url":"https:\/\/www.upnxtblog.com\/index.php\/2018\/07\/26\/1st-year-of-blogging-top-10-best-and-the-most-popular-reads\/","url_meta":{"origin":1525,"position":0},"title":"1st Year of Blogging : TOP 10 best and the most popular reads","author":"Karthik","date":"July 26, 2018","format":false,"excerpt":"This is my 1st Year of Blogging,here are 10 best and the most popular reads for this year.These posts have clocked more 500+ reads this year.I hope you enjoy reading and treasure them. #1.TOP 6 GUI tools for managing Docker environments In this article,let us check\u00a0TOP 6 GUI tools for\u2026","rel":"","context":"In &quot;Trending&quot;","block_context":{"text":"Trending","link":"https:\/\/www.upnxtblog.com\/index.php\/category\/trending\/"},"img":{"alt_text":"jogging","src":"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/07\/jogging-2343558_1920.jpg?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/07\/jogging-2343558_1920.jpg?fit=1200%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/07\/jogging-2343558_1920.jpg?fit=1200%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/07\/jogging-2343558_1920.jpg?fit=1200%2C800&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/07\/jogging-2343558_1920.jpg?fit=1200%2C800&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2833,"url":"https:\/\/www.upnxtblog.com\/index.php\/2018\/08\/15\/10-best-and-the-most-popular-all-time-reads\/","url_meta":{"origin":1525,"position":1},"title":"10 best and the most popular all time reads","author":"Karthik","date":"August 15, 2018","format":false,"excerpt":"Here's best compilation of 10 best and the most popular all time reads,I hope you enjoy reading and treasure them. #1.TOP 6 GUI tools for managing Docker environments In this article,let us check\u00a0TOP 6 GUI tools for managing Docker environments.Docker\u00a0as we know,is an open platform for developers and sysadmins to\u2026","rel":"","context":"In &quot;Trending&quot;","block_context":{"text":"Trending","link":"https:\/\/www.upnxtblog.com\/index.php\/category\/trending\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2767,"url":"https:\/\/www.upnxtblog.com\/index.php\/2018\/07\/23\/1st-year-of-blogging-upnxtblog-statistics\/","url_meta":{"origin":1525,"position":2},"title":"1st Year of Blogging : Upnxtblog statistics","author":"Karthik","date":"July 23, 2018","format":false,"excerpt":"Completed an important milestone,YES this blog has completed 1 year today.I have never thought I would be able to continue blogging alongside my full time work but this has been very good experience and velocity keep going because of your support & motivation. Thank you for all your support,likes,comment &\u2026","rel":"","context":"In &quot;Trending&quot;","block_context":{"text":"Trending","link":"https:\/\/www.upnxtblog.com\/index.php\/category\/trending\/"},"img":{"alt_text":"jogging","src":"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/07\/jogging-2343558_1920.jpg?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/07\/jogging-2343558_1920.jpg?fit=1200%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/07\/jogging-2343558_1920.jpg?fit=1200%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/07\/jogging-2343558_1920.jpg?fit=1200%2C800&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/07\/jogging-2343558_1920.jpg?fit=1200%2C800&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1431,"url":"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/13\/invoke-azure-functions-using-http-trigger\/","url_meta":{"origin":1525,"position":3},"title":"Serverless tutorial &#8211; Invoke Azure functions using HTTP Trigger","author":"Karthik","date":"December 13, 2017","format":false,"excerpt":"Serverless services or FaaS like Azure Functions lets you run code without provisioning or managing servers. You pay only for the compute time you consume there is no charge when your code is not running. You can run code for virtually any type of application or backend service all with\u2026","rel":"","context":"In &quot;Cloud Computing&quot;","block_context":{"text":"Cloud Computing","link":"https:\/\/www.upnxtblog.com\/index.php\/category\/cloud\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/azure-function-logo.jpg?fit=600%2C350&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/azure-function-logo.jpg?fit=600%2C350&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/12\/azure-function-logo.jpg?fit=600%2C350&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":2022,"url":"https:\/\/www.upnxtblog.com\/index.php\/2018\/02\/26\/kubeless-tutorial-kubernetes-native-serverless-framework\/","url_meta":{"origin":1525,"position":4},"title":"Kubeless tutorial &#8211; Kubernetes native serverless framework","author":"Karthik","date":"February 26, 2018","format":false,"excerpt":"kubeless is a Kubernetes-native serverless framework that lets you deploy small bits of code without having to worry about the underlying infrastructure plumbing. It leverages Kubernetes resources to provide auto-scaling, API routing, monitoring, troubleshooting, and more. Before we move on to the tutorial, Little bit of intro on Serverless, it\u2026","rel":"","context":"In &quot;Kubernetes Guides&quot;","block_context":{"text":"Kubernetes Guides","link":"https:\/\/www.upnxtblog.com\/index.php\/category\/kubernetes\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/02\/kubeless.png?fit=1200%2C293&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/02\/kubeless.png?fit=1200%2C293&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/02\/kubeless.png?fit=1200%2C293&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/02\/kubeless.png?fit=1200%2C293&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2018\/02\/kubeless.png?fit=1200%2C293&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1270,"url":"https:\/\/www.upnxtblog.com\/index.php\/2017\/12\/01\/serverless-comparison-aws-lambda-vs-azure-functions-vs-google-functions\/","url_meta":{"origin":1525,"position":5},"title":"Serverless Comparison : AWS Lambda vs. Azure Functions vs. Google Functions","author":"Karthik","date":"December 1, 2017","format":false,"excerpt":"Introduction Serverless allows developers to build and run applications and services without thinking about the servers actually running the code. Serverless services, or FaaS (Functions-as-a-Service) providers, instrument this concept by allowing developers to upload the code while taking care of deploying running and scaling it.AWS Lambda was the first one\u2026","rel":"","context":"In &quot;Serverless Guides&quot;","block_context":{"text":"Serverless Guides","link":"https:\/\/www.upnxtblog.com\/index.php\/category\/serverless\/"},"img":{"alt_text":"AWS Lambda \/ How it works","src":"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/11\/aws-lambda.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/11\/aws-lambda.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/11\/aws-lambda.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.upnxtblog.com\/wp-content\/uploads\/2017\/11\/aws-lambda.png?resize=700%2C400 2x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.upnxtblog.com\/index.php\/wp-json\/wp\/v2\/posts\/1525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.upnxtblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.upnxtblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.upnxtblog.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.upnxtblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=1525"}],"version-history":[{"count":2,"href":"https:\/\/www.upnxtblog.com\/index.php\/wp-json\/wp\/v2\/posts\/1525\/revisions"}],"predecessor-version":[{"id":5940,"href":"https:\/\/www.upnxtblog.com\/index.php\/wp-json\/wp\/v2\/posts\/1525\/revisions\/5940"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.upnxtblog.com\/index.php\/wp-json\/wp\/v2\/media\/1488"}],"wp:attachment":[{"href":"https:\/\/www.upnxtblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=1525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.upnxtblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=1525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.upnxtblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=1525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}