{"id":6779,"date":"2019-05-01T10:50:58","date_gmt":"2019-05-01T17:50:58","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=6779"},"modified":"2025-06-13T22:39:32","modified_gmt":"2025-06-14T05:39:32","slug":"using-curl-eventing-service-update","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/using-curl-eventing-service-update\/","title":{"rendered":"Usando cURL com o Eventing Service: Atualiza\u00e7\u00e3o"},"content":{"rendered":"<div class=\"paragraph\">\n<p>CURL \u00e9 uma fun\u00e7\u00e3o utilit\u00e1ria que est\u00e1 dispon\u00edvel como um recurso Developer Preview no <a href=\"https:\/\/docs.couchbase.com\/server\/current\/eventing\/eventing-overview.html\">Fun\u00e7\u00f5es de eventos do Couchbase<\/a>. Ele esteve na vers\u00e3o pr\u00e9via para desenvolvedores e n\u00e3o foi recomendado para produ\u00e7\u00e3o. Estamos ouvindo o feedback para melhorar a usabilidade e temos v\u00e1rios novos aprimoramentos a caminho:<\/p>\n<\/div>\n<div class=\"olist arabic\">\n<ol class=\"arabic\">\n<li>An\u00e1lise autom\u00e1tica de tipos comuns de dados<\/li>\n<li>Distribui\u00e7\u00e3o autom\u00e1tica de tipos comuns de dados<\/li>\n<li>Capacidade de acessar os cabe\u00e7alhos de solicita\u00e7\u00e3o e resposta HTTP<\/li>\n<li>Capacidade de lidar com conex\u00f5es HTTPS<\/li>\n<li>Suporte para cookies de sess\u00e3o<\/li>\n<li>Suporte a outros tipos de autentica\u00e7\u00e3o<\/li>\n<\/ol>\n<\/div>\n<div class=\"paragraph\">\n<p>O Couchbase Server 6.5 trar\u00e1 algumas altera\u00e7\u00f5es no CURL. Esta postagem do blog lhe dar\u00e1 uma pequena pr\u00e9via do que est\u00e1 por vir na vers\u00e3o 6.5. Ele tamb\u00e9m serve como ponto de refer\u00eancia para alguns posts mais antigos do blog que estavam usando a API CURL antiga.<\/p>\n<\/div>\n<div class=\"paragraph\">\n<p>Se estiver interessado em experimentar uma vers\u00e3o inicial do Couchbase Server 6.5 antes do lan\u00e7amento da vers\u00e3o beta no ver\u00e3o de 2019, entre em contato com <a href=\"mailto:matthew.groves@couchbase.com\">matthew.groves@couchbase.com<\/a>.<\/p>\n<\/div>\n<div class=\"sect1\">\n<h2 id=\"_eventing_6_5_specification\">Especifica\u00e7\u00e3o do Eventing 6.5<\/h2>\n<div class=\"sectionbody\">\n<div class=\"paragraph\">\n<p>O Couchbase Server 6.5 traz melhorias e aprimoramentos para o Eventing. Voc\u00ea pode ler a \u00edntegra do <a href=\"https:\/\/github.com\/couchbase\/eventing\/blob\/master\/docs\/specification-65.pdf\">Especifica\u00e7\u00e3o do Eventing 6.5 no GitHub<\/a>. Para esta postagem, quero destacar o CURL, que mudou consideravelmente desde sua primeira pr\u00e9via para desenvolvedores.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1\">\n<h2 id=\"_url_alias_bindings_for_curl\">Liga\u00e7\u00f5es de aliases de URL para CURL<\/h2>\n<div class=\"sectionbody\">\n<div class=\"paragraph\">\n<p>Para usar o CURL em um evento, \u00e9 necess\u00e1rio criar um alias de URL nas Configura\u00e7\u00f5es de fun\u00e7\u00e3o. Especifique o URL de base para o qual voc\u00ea far\u00e1 uma chamada com o CURL. Por exemplo, quero fazer chamadas para o <a href=\"https:\/\/openweathermap.org\/\">Mapa meteorol\u00f3gico aberto<\/a> API. O URL de base para a <a href=\"https:\/\/openweathermap.org\/current\">API<\/a> \u00e9 <strong>https:\/\/samples.openweathermap.org<\/strong>. Em Function Settings, adicionei uma liga\u00e7\u00e3o:<\/p>\n<\/div>\n<div class=\"ulist\">\n<ul>\n<li>Alias de URL (tipo de vincula\u00e7\u00e3o)<\/li>\n<li>weatherUrl (nome do v\u00ednculo)<\/li>\n<li>https:\/\/samples.openweathermap.org (valor de liga\u00e7\u00e3o)<\/li>\n<\/ul>\n<\/div>\n<div class=\"paragraph\">\n<p><span class=\"image\"><img decoding=\"async\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2019\/04\/12201-function-settings-curl.png\" alt=\"Function settings\" width=\"including URL for curl\" \/><\/span><\/p>\n<\/div>\n<div class=\"paragraph\">\n<p>Tamb\u00e9m adicionei um alias de bucket vinculado ao <strong>demonstra\u00e7\u00e3o<\/strong> que tamb\u00e9m \u00e9 o bucket de origem. Isso me permite ler e gravar a partir do <strong>demonstra\u00e7\u00e3o<\/strong> balde.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1\">\n<h2 id=\"_function_code\">C\u00f3digo de fun\u00e7\u00e3o<\/h2>\n<div class=\"sectionbody\">\n<div class=\"paragraph\">\n<p>Criei um aplicativo muito simples <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/eventing\/\">Eventos<\/a> que ser\u00e1 executada sempre que um documento for alterado, recuperar\u00e1 o clima do OpenWeatherMap e, por fim, salvar\u00e1 os dados do clima no documento.<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre class=\"highlight decode:true\"><code class=\"language-JavaScript\" data-lang=\"JavaScript\">function OnUpdate(doc, meta) {\r\n    var request = {\r\n        path: '\/data\/2.5\/weather',\r\n        params: {\r\n            'q' : 'London,uk',\r\n            'appid' : 'b6907d289e10d714a6e88b30761fae22'\r\n        }\r\n    };\r\n    var response = curl('GET', weatherUrl, request);\r\n    if(response.status == 200) {\r\n        var obj = thisbucket[meta.id];\r\n        obj.weather = response.body;\r\n        thisbucket[meta.id] = obj;\r\n    }\r\n}<\/code><\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>Observe que o m\u00e9todo curl nesse c\u00f3digo recebe tr\u00eas argumentos:<\/p>\n<\/div>\n<div class=\"ulist\">\n<ul>\n<li>O m\u00e9todo HTTP (<code>OBTER<\/code> neste exemplo)<\/li>\n<li>A associa\u00e7\u00e3o de alias de URL (<code>weatherUrl<\/code>)<\/li>\n<li>Um objeto de solicita\u00e7\u00e3o (<code>solicita\u00e7\u00e3o<\/code>). Neste exemplo, \u00e9 muito simples, com apenas um <code>caminho<\/code> e um <code>par\u00e2metros<\/code> mas voc\u00ea tamb\u00e9m pode adicionar <code>cabe\u00e7alhos<\/code>, <code>corpo<\/code>e <code>codifica\u00e7\u00e3o<\/code>. N\u00e3o deixe de conferir o <a href=\"https:\/\/github.com\/couchbase\/eventing\/blob\/master\/docs\/specification-65.pdf\">especifica\u00e7\u00e3o completa<\/a>.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1\">\n<h2 id=\"_next_steps\">Pr\u00f3ximas etapas<\/h2>\n<div class=\"sectionbody\">\n<div class=\"paragraph\">\n<p>Se voc\u00ea estiver usando o curl na visualiza\u00e7\u00e3o do desenvolvedor, \u00e9 importante que voc\u00ea atualize para usar esse curl novo e aprimorado. Se estiver interessado em experimentar uma vers\u00e3o inicial do Couchbase Server 6.5 que contenha a nova fun\u00e7\u00e3o curl antes do lan\u00e7amento da vers\u00e3o beta no ver\u00e3o, entre em contato com <a href=\"mailto:matthew.groves@couchbase.com\">matthew.groves@couchbase.com<\/a>.<\/p>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>CURL is a utility function that has been available as a Developer Preview feature in Couchbase Eventing Functions. It has been in developer preview and was not recommended for production. We are listening to feedback to improve usability, and we [&hellip;]<\/p>","protected":false},"author":71,"featured_media":6781,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1816,2273],"tags":[1771,2133],"ppma_author":[8937],"class_list":["post-6779","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-server","category-eventing","tag-curl","tag-functions"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using cURL with the Eventing Service: Update - The Couchbase Blog<\/title>\n<meta name=\"description\" content=\"CURL is a utility function that has been available as a Developer Preview feature in Couchbase Eventing. Improvements are coming in the next release.\" \/>\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.couchbase.com\/blog\/pt\/using-curl-eventing-service-update\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using cURL with the Eventing Service: Update\" \/>\n<meta property=\"og:description\" content=\"CURL is a utility function that has been available as a Developer Preview feature in Couchbase Eventing. Improvements are coming in the next release.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/using-curl-eventing-service-update\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-01T17:50:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T05:39:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/122-hero-curl.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"334\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Matthew Groves\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mgroves\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Matthew Groves\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/\"},\"author\":{\"name\":\"Matthew Groves\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/3929663e372020321b0152dc4fa65a58\"},\"headline\":\"Using cURL with the Eventing Service: Update\",\"datePublished\":\"2019-05-01T17:50:58+00:00\",\"dateModified\":\"2025-06-14T05:39:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/\"},\"wordCount\":438,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/122-hero-curl.jpg\",\"keywords\":[\"curl\",\"functions\"],\"articleSection\":[\"Couchbase Server\",\"Eventing\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/\",\"name\":\"Using cURL with the Eventing Service: Update - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/122-hero-curl.jpg\",\"datePublished\":\"2019-05-01T17:50:58+00:00\",\"dateModified\":\"2025-06-14T05:39:32+00:00\",\"description\":\"CURL is a utility function that has been available as a Developer Preview feature in Couchbase Eventing. Improvements are coming in the next release.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/122-hero-curl.jpg\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/122-hero-curl.jpg\",\"width\":700,\"height\":334,\"caption\":\"licensed through Creative Commons https:\/\/www.maxpixel.net\/Cheese-Curls-Curls-Food-Junk-Food-Cheese-218233\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using cURL with the Eventing Service: Update\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/3929663e372020321b0152dc4fa65a58\",\"name\":\"Matthew Groves\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/ba51e6aacc53995c323a634e4502ef54\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=g\",\"caption\":\"Matthew Groves\"},\"description\":\"Matthew D. Groves is a guy who loves to code. It doesn't matter if it's C#, jQuery, or PHP: he'll submit pull requests for anything. He has been coding professionally ever since he wrote a QuickBASIC point-of-sale app for his parent's pizza shop back in the 90s. He currently works as a Senior Product Marketing Manager for Couchbase. His free time is spent with his family, watching the Reds, and getting involved in the developer community. He is the author of AOP in .NET, Pro Microservices in .NET, a Pluralsight author, and a Microsoft MVP.\",\"sameAs\":[\"https:\/\/crosscuttingconcerns.com\",\"https:\/\/x.com\/mgroves\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/pt\/author\/matthew-groves\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Using cURL with the Eventing Service: Update - The Couchbase Blog","description":"CURL \u00e9 uma fun\u00e7\u00e3o utilit\u00e1ria que est\u00e1 dispon\u00edvel como um recurso Developer Preview no Couchbase Eventing. Os aprimoramentos vir\u00e3o na pr\u00f3xima vers\u00e3o.","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.couchbase.com\/blog\/pt\/using-curl-eventing-service-update\/","og_locale":"pt_BR","og_type":"article","og_title":"Using cURL with the Eventing Service: Update","og_description":"CURL is a utility function that has been available as a Developer Preview feature in Couchbase Eventing. Improvements are coming in the next release.","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/using-curl-eventing-service-update\/","og_site_name":"The Couchbase Blog","article_published_time":"2019-05-01T17:50:58+00:00","article_modified_time":"2025-06-14T05:39:32+00:00","og_image":[{"width":700,"height":334,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/122-hero-curl.jpg","type":"image\/jpeg"}],"author":"Matthew Groves","twitter_card":"summary_large_image","twitter_creator":"@mgroves","twitter_misc":{"Written by":"Matthew Groves","Est. reading time":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/"},"author":{"name":"Matthew Groves","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/3929663e372020321b0152dc4fa65a58"},"headline":"Using cURL with the Eventing Service: Update","datePublished":"2019-05-01T17:50:58+00:00","dateModified":"2025-06-14T05:39:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/"},"wordCount":438,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/122-hero-curl.jpg","keywords":["curl","functions"],"articleSection":["Couchbase Server","Eventing"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/","url":"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/","name":"Using cURL with the Eventing Service: Update - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/122-hero-curl.jpg","datePublished":"2019-05-01T17:50:58+00:00","dateModified":"2025-06-14T05:39:32+00:00","description":"CURL \u00e9 uma fun\u00e7\u00e3o utilit\u00e1ria que est\u00e1 dispon\u00edvel como um recurso Developer Preview no Couchbase Eventing. Os aprimoramentos vir\u00e3o na pr\u00f3xima vers\u00e3o.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/122-hero-curl.jpg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/122-hero-curl.jpg","width":700,"height":334,"caption":"licensed through Creative Commons https:\/\/www.maxpixel.net\/Cheese-Curls-Curls-Food-Junk-Food-Cheese-218233"},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/using-curl-eventing-service-update\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Using cURL with the Eventing Service: Update"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"Blog do Couchbase","description":"Couchbase, o banco de dados NoSQL","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"Blog do Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/3929663e372020321b0152dc4fa65a58","name":"Matthew Groves","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/ba51e6aacc53995c323a634e4502ef54","url":"https:\/\/secure.gravatar.com\/avatar\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=g","caption":"Matthew Groves"},"description":"Matthew D. Groves \u00e9 um cara que adora programar. N\u00e3o importa se \u00e9 C#, jQuery ou PHP: ele enviar\u00e1 solicita\u00e7\u00f5es de pull para qualquer coisa. Ele tem programado profissionalmente desde que escreveu um aplicativo de ponto de venda QuickBASIC para a pizzaria de seus pais nos anos 90. Atualmente, ele trabalha como gerente s\u00eanior de marketing de produtos da Couchbase. Seu tempo livre \u00e9 passado com a fam\u00edlia, assistindo aos Reds e participando da comunidade de desenvolvedores. Ele \u00e9 autor de AOP in .NET, Pro Microservices in .NET, autor da Pluralsight e Microsoft MVP.","sameAs":["https:\/\/crosscuttingconcerns.com","https:\/\/x.com\/mgroves"],"url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/matthew-groves\/"}]}},"authors":[{"term_id":8937,"user_id":71,"is_guest":0,"slug":"matthew-groves","display_name":"Matthew Groves","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=g","author_category":"","last_name":"Groves","first_name":"Matthew","job_title":"","user_url":"https:\/\/crosscuttingconcerns.com","description":"Matthew D. Groves \u00e9 um cara que adora programar.  N\u00e3o importa se \u00e9 C#, jQuery ou PHP: ele enviar\u00e1 solicita\u00e7\u00f5es de pull para qualquer coisa.  Ele tem programado profissionalmente desde que escreveu um aplicativo de ponto de venda QuickBASIC para a pizzaria de seus pais nos anos 90.  Atualmente, ele trabalha como gerente s\u00eanior de marketing de produtos da Couchbase. Seu tempo livre \u00e9 passado com a fam\u00edlia, assistindo aos Reds e participando da comunidade de desenvolvedores.  Ele \u00e9 autor de AOP in .NET, Pro Microservices in .NET, autor da Pluralsight e Microsoft MVP."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/6779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=6779"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/6779\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/6781"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=6779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=6779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=6779"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=6779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}