{"id":4967,"date":"2018-04-12T08:00:43","date_gmt":"2018-04-12T15:00:43","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=4967"},"modified":"2025-06-13T22:39:51","modified_gmt":"2025-06-14T05:39:51","slug":"using-the-curl-function-with-the-couchbase-eventing-service","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/using-the-curl-function-with-the-couchbase-eventing-service\/","title":{"rendered":"Usando a fun\u00e7\u00e3o cURL com o servi\u00e7o de eventos do Couchbase"},"content":{"rendered":"<p><em>Observa\u00e7\u00e3o importante: esta postagem do blog cont\u00e9m informa\u00e7\u00f5es sobre uma fun\u00e7\u00e3o CURL de visualiza\u00e7\u00e3o do desenvolvedor no Eventing. A fun\u00e7\u00e3o CURL ser\u00e1 alterada no Couchbase Server 6.5, consulte <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/using-curl-eventing-service-update\/\">Usando cURL com o Eventing Service: Atualiza\u00e7\u00e3o<\/a> para obter mais detalhes.<\/em><\/p>\n<hr \/>\n<p>O servi\u00e7o Couchbase Eventing \u00e9 novo a partir de <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/\" target=\"_blank\" rel=\"noopener noreferrer\">Couchbase<\/a> 5.5 e eu j\u00e1 havia escrito um tutorial sobre <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/detect-sensitive-information-nosql-documents-automatically-couchbase-functions\/\" target=\"_blank\" rel=\"noopener noreferrer\">Detec\u00e7\u00e3o de informa\u00e7\u00f5es confidenciais e envio de notifica\u00e7\u00f5es<\/a>. Em meu tutorial anterior, demonstrei como fazer solicita\u00e7\u00f5es a um servi\u00e7o remoto usando o operador cURL no N1QL. No entanto, e se voc\u00ea n\u00e3o quiser usar o N1QL para fazer o trabalho?<\/p>\n<p>Veremos como usar a fun\u00e7\u00e3o cURL para fazer solicita\u00e7\u00f5es em vez de N1QL ao usar o <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/products\/eventing\/\">Servi\u00e7o de eventos<\/a>.<\/p>\n<p><!--more--><\/p>\n<p>No momento, o Eventing est\u00e1 em Developer Preview, portanto, a funcionalidade pode estar sujeita a altera\u00e7\u00f5es. No entanto, isso deve lhe dar uma ideia do que voc\u00ea pode fazer.<\/p>\n<p><strong>Observe que a constru\u00e7\u00e3o curl ainda est\u00e1 em desenvolvimento. Esse recurso destina-se apenas a fins de desenvolvimento e n\u00e3o deve ser usado em ambientes de produ\u00e7\u00e3o.<\/strong><\/p>\n<p>Em vez de tentar encontrar uma API para usar, vamos criar a nossa pr\u00f3pria com o Node.js, semelhante ao que fizemos no exemplo anterior. Assim que tivermos a API implementada, criaremos uma fun\u00e7\u00e3o no Couchbase que ser\u00e1 acionada quando novos documentos forem criados ou alterados.<\/p>\n<h2>Cria\u00e7\u00e3o de uma API do Node.js para receber solicita\u00e7\u00f5es<\/h2>\n<p>Nossa API ser\u00e1 incrivelmente simples porque o Node.js n\u00e3o \u00e9 o foco deste tutorial. Receberemos dados e retornaremos esses mesmos dados \u00e0 nossa fun\u00e7\u00e3o.<\/p>\n<p>Crie um novo diret\u00f3rio em seu computador e execute os seguintes comandos da CLI dentro desse diret\u00f3rio:<\/p>\n<pre class=\"lang:default decode:true\">npm init -y\r\nnpm install express body-parser --save<\/pre>\n<p>Os comandos acima criar\u00e3o um novo\u00a0<strong>package.json<\/strong> e instale o Express Framework e um m\u00f3dulo para aceitar corpos de solicita\u00e7\u00e3o. Com as depend\u00eancias dispon\u00edveis, execute o seguinte:<\/p>\n<pre class=\"lang:default decode:true\">touch app.js<\/pre>\n<p>Se voc\u00ea estiver no Windows, v\u00e1 em frente e crie o arquivo\u00a0<strong>app.js<\/strong> como voc\u00ea quiser.<\/p>\n<p>Abra o rec\u00e9m-criado\u00a0<strong>app.js<\/strong> e inclua o seguinte c\u00f3digo JavaScript:<\/p>\n<pre class=\"lang:default decode:true\">const Express = require(\"express\");\r\nconst BodyParser = require(\"body-parser\");\r\n\r\nvar app = Express();\r\n\r\napp.use(BodyParser.json());\r\napp.use(BodyParser.urlencoded({ extended: true }));\r\n\r\napp.post(\"\/notify\", (request, response) =&gt; {\r\n    console.log(\"POST \/notify\");\r\n    response.send(request.body);\r\n});\r\n\r\nvar server = app.listen(3000, () =&gt; {\r\n    console.log(\"Listening...\");\r\n});<\/pre>\n<p>Temos um \u00fanico endpoint que faz exatamente o que mencionei anteriormente. Quando executamos esse aplicativo, ele est\u00e1 servindo na porta 3000. No nosso exemplo, tanto o banco de dados quanto o aplicativo Node.js ser\u00e3o executados localmente. Se as coisas forem diferentes, verifique se o aplicativo Node.js pode ser acessado de um host remoto.<\/p>\n<h2>Desenvolvimento de uma fun\u00e7\u00e3o simples do Couchbase com suporte a cURL<\/h2>\n<p>Nossa fun\u00e7\u00e3o ser\u00e1 muito simples para este exemplo. N\u00e3o verificaremos determinados dados, apenas verificaremos se algo foi criado ou alterado. Se a fun\u00e7\u00e3o for acionada, publicaremos os dados em nosso aplicativo Node.js.<\/p>\n<p>No\u00a0<strong>Eventos<\/strong> do painel administrativo do Couchbase, crie uma nova fun\u00e7\u00e3o, mapeando o Bucket e o Bucket de metainforma\u00e7\u00f5es corretos. O c\u00f3digo que queremos adicionar \u00e9 parecido com o seguinte:<\/p>\n<pre class=\"lang:default decode:true\">function OnUpdate(doc, meta) {\r\n    log('document', doc);\r\n    var response = curl(\"https:\/\/localhost:3000\/notify\", { method: \"POST\", data: doc });\r\n    log('curl', response);\r\n}\r\nfunction OnDelete(meta) {\r\n}<\/pre>\n<p>Observe que estamos usando o <code>enrolar<\/code> e especificando algumas op\u00e7\u00f5es, como o corpo da solicita\u00e7\u00e3o e o m\u00e9todo. Se quis\u00e9ssemos, poder\u00edamos adicionar outras propriedades, como cabe\u00e7alhos ou autoriza\u00e7\u00e3o.<\/p>\n<p>Tente adicionar um novo documento ou alterar um. O documento deve ser enviado.<\/p>\n<h2>Conclus\u00e3o<\/h2>\n<p>Voc\u00ea acabou de ver como enviar dados para um servi\u00e7o remoto a partir de uma fun\u00e7\u00e3o do Couchbase com a fun\u00e7\u00e3o cURL e o servi\u00e7o Couchbase Eventing. Isso \u00e9 um pouco diferente do meu <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/detect-sensitive-information-nosql-documents-automatically-couchbase-functions\/\" target=\"_blank\" rel=\"noopener noreferrer\">exemplo anterior<\/a> porque ele n\u00e3o usa o N1QL para tornar isso poss\u00edvel.<\/p>\n<p>Para saber mais sobre o servi\u00e7o Eventing do Couchbase, consulte o <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/developers\/\" target=\"_blank\" rel=\"noopener noreferrer\">Portal do desenvolvedor do Couchbase<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Important note: This blog post contains information about a developer preview CURL function in Eventing. The CURL function will be changing in Couchbase Server 6.5, please see Using cURL with the Eventing Service: Update for more details. The Couchbase Eventing [&hellip;]<\/p>","protected":false},"author":63,"featured_media":13873,"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":[9032],"class_list":["post-4967","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 v25.8 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using the cURL Function with the Couchbase Eventing Service<\/title>\n<meta name=\"description\" content=\"Learn how to use the cURL function to make remote requests from the Couchbase Eventing service without using embedded N1QL queries.\" \/>\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-the-curl-function-with-the-couchbase-eventing-service\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using the cURL Function with the Couchbase Eventing Service\" \/>\n<meta property=\"og:description\" content=\"Learn how to use the cURL function to make remote requests from the Couchbase Eventing service without using embedded N1QL queries.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/using-the-curl-function-with-the-couchbase-eventing-service\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/thepolyglotdeveloper\" \/>\n<meta property=\"article:published_time\" content=\"2018-04-12T15:00:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T05:39:51+00:00\" \/>\n<meta name=\"author\" content=\"Nic Raboy, Developer Advocate, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@nraboy\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nic Raboy, Developer Advocate, Couchbase\" \/>\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-the-curl-function-with-the-couchbase-eventing-service\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/\"},\"author\":{\"name\":\"Nic Raboy, Developer Advocate, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/bb545ebe83bb2d12f91095811d0a72e1\"},\"headline\":\"Using the cURL Function with the Couchbase Eventing Service\",\"datePublished\":\"2018-04-12T15:00:43+00:00\",\"dateModified\":\"2025-06-14T05:39:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/\"},\"wordCount\":591,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"keywords\":[\"curl\",\"functions\"],\"articleSection\":[\"Couchbase Server\",\"Eventing\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/\",\"name\":\"Using the cURL Function with the Couchbase Eventing Service\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2018-04-12T15:00:43+00:00\",\"dateModified\":\"2025-06-14T05:39:51+00:00\",\"description\":\"Learn how to use the cURL function to make remote requests from the Couchbase Eventing service without using embedded N1QL queries.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using the cURL Function with the Couchbase Eventing Service\"}]},{\"@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\/bb545ebe83bb2d12f91095811d0a72e1\",\"name\":\"Nic Raboy, Developer Advocate, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/8863514d8bed0cf6080f23db40e00354\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g\",\"caption\":\"Nic Raboy, Developer Advocate, Couchbase\"},\"description\":\"Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.\",\"sameAs\":[\"https:\/\/www.thepolyglotdeveloper.com\",\"https:\/\/www.facebook.com\/thepolyglotdeveloper\",\"https:\/\/x.com\/nraboy\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/pt\/author\/nic-raboy-2\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Usando a fun\u00e7\u00e3o cURL com o servi\u00e7o de eventos do Couchbase","description":"Saiba como usar a fun\u00e7\u00e3o cURL para fazer solicita\u00e7\u00f5es remotas do servi\u00e7o Couchbase Eventing sem usar consultas N1QL incorporadas.","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-the-curl-function-with-the-couchbase-eventing-service\/","og_locale":"pt_BR","og_type":"article","og_title":"Using the cURL Function with the Couchbase Eventing Service","og_description":"Learn how to use the cURL function to make remote requests from the Couchbase Eventing service without using embedded N1QL queries.","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/using-the-curl-function-with-the-couchbase-eventing-service\/","og_site_name":"The Couchbase Blog","article_author":"https:\/\/www.facebook.com\/thepolyglotdeveloper","article_published_time":"2018-04-12T15:00:43+00:00","article_modified_time":"2025-06-14T05:39:51+00:00","author":"Nic Raboy, Developer Advocate, Couchbase","twitter_card":"summary_large_image","twitter_creator":"@nraboy","twitter_misc":{"Written by":"Nic Raboy, Developer Advocate, Couchbase","Est. reading time":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/"},"author":{"name":"Nic Raboy, Developer Advocate, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/bb545ebe83bb2d12f91095811d0a72e1"},"headline":"Using the cURL Function with the Couchbase Eventing Service","datePublished":"2018-04-12T15:00:43+00:00","dateModified":"2025-06-14T05:39:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/"},"wordCount":591,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","keywords":["curl","functions"],"articleSection":["Couchbase Server","Eventing"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/","url":"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/","name":"Usando a fun\u00e7\u00e3o cURL com o servi\u00e7o de eventos do Couchbase","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2018-04-12T15:00:43+00:00","dateModified":"2025-06-14T05:39:51+00:00","description":"Saiba como usar a fun\u00e7\u00e3o cURL para fazer solicita\u00e7\u00f5es remotas do servi\u00e7o Couchbase Eventing sem usar consultas N1QL incorporadas.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/using-the-curl-function-with-the-couchbase-eventing-service\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Using the cURL Function with the Couchbase Eventing Service"}]},{"@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\/bb545ebe83bb2d12f91095811d0a72e1","name":"Nic Raboy, defensor dos desenvolvedores, Couchbase","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/8863514d8bed0cf6080f23db40e00354","url":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","caption":"Nic Raboy, Developer Advocate, Couchbase"},"description":"Nic Raboy \u00e9 um defensor das modernas tecnologias de desenvolvimento m\u00f3vel e da Web. Ele tem experi\u00eancia em Java, JavaScript, Golang e uma variedade de estruturas, como Angular, NativeScript e Apache Cordova. Nic escreve sobre suas experi\u00eancias de desenvolvimento relacionadas a tornar o desenvolvimento m\u00f3vel e da Web mais f\u00e1cil de entender.","sameAs":["https:\/\/www.thepolyglotdeveloper.com","https:\/\/www.facebook.com\/thepolyglotdeveloper","https:\/\/x.com\/nraboy"],"url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/nic-raboy-2\/"}]}},"authors":[{"term_id":9032,"user_id":63,"is_guest":0,"slug":"nic-raboy-2","display_name":"Nic Raboy, Developer Advocate, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","author_category":"","last_name":"Raboy","first_name":"Nic","job_title":"","user_url":"https:\/\/www.thepolyglotdeveloper.com","description":"Nic Raboy \u00e9 um defensor das modernas tecnologias de desenvolvimento m\u00f3vel e da Web. Ele tem experi\u00eancia em Java, JavaScript, Golang e uma variedade de estruturas, como Angular, NativeScript e Apache Cordova. Nic escreve sobre suas experi\u00eancias de desenvolvimento relacionadas a tornar o desenvolvimento m\u00f3vel e da Web mais f\u00e1cil de entender."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/4967","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\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=4967"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/4967\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=4967"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=4967"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=4967"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=4967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}