{"id":1679,"date":"2025-09-09T12:15:35","date_gmt":"2025-09-09T12:15:35","guid":{"rendered":"https:\/\/staging.modalmore.com\/?page_id=1679"},"modified":"2025-09-09T12:16:45","modified_gmt":"2025-09-09T12:16:45","slug":"teste","status":"publish","type":"page","link":"https:\/\/staging.modalmore.com\/en\/teste\/","title":{"rendered":"teste"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1679\" class=\"elementor elementor-1679\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-18fef29 e-flex e-con-boxed e-con e-parent\" data-id=\"18fef29\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6132b6f elementor-widget elementor-widget-html\" data-id=\"6132b6f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"resultado-api\" style=\"padding:10px; border:1px solid #ccc; margin-top:20px;\">\r\n  Aguardando resposta da API...\r\n<\/div>\r\n\r\n<button id=\"btn-enviar-lead\">Enviar Lead<\/button>\r\n\r\n<script>\r\ndocument.getElementById('btn-enviar-lead').addEventListener('click', async () => {\r\n    const url = \"https:\/\/staging.modalmore.com\/wp-json\/custom\/v1\/lead-to-clickup\"; \/\/ substitua pela sua URL\r\n    const data = {\r\n        nome: \"Jo\u00e3o\",\r\n        email: \"joao@email.com\"\r\n    };\r\n\r\n    const resultadoDiv = document.getElementById('resultado-api');\r\n    resultadoDiv.innerHTML = \"Enviando...\";\r\n\r\n    try {\r\n        const response = await fetch(url, {\r\n            method: \"POST\",\r\n            headers: {\r\n                \"Content-Type\": \"application\/json\"\r\n            },\r\n            body: JSON.stringify(data)\r\n        });\r\n\r\n        if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);\r\n\r\n        const result = await response.json();\r\n        resultadoDiv.innerHTML = `<pre>${JSON.stringify(result, null, 2)}<\/pre>`;\r\n    } catch (error) {\r\n        resultadoDiv.innerHTML = `Erro ao chamar API: ${error.message}`;\r\n    }\r\n});\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Aguardando resposta da API&#8230; Enviar Lead<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_modal_schema_jsonld":"","footnotes":""},"class_list":["post-1679","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>teste - Modal&amp;More<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/staging.modalmore.com\/en\/teste\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"teste - Modal&amp;More\" \/>\n<meta property=\"og:description\" content=\"Aguardando resposta da API&#8230; Enviar Lead\" \/>\n<meta property=\"og:url\" content=\"https:\/\/staging.modalmore.com\/en\/teste\/\" \/>\n<meta property=\"og:site_name\" content=\"Modal&amp;More\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ModalCreativity\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-09T12:16:45+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/staging.modalmore.com\/en\/teste\/\",\"url\":\"https:\/\/staging.modalmore.com\/en\/teste\/\",\"name\":\"teste - Modal&amp;More\",\"isPartOf\":{\"@id\":\"https:\/\/staging.modalmore.com\/en\/#website\"},\"datePublished\":\"2025-09-09T12:15:35+00:00\",\"dateModified\":\"2025-09-09T12:16:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/staging.modalmore.com\/en\/teste\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/staging.modalmore.com\/en\/teste\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/staging.modalmore.com\/en\/teste\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/staging.modalmore.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"teste\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/staging.modalmore.com\/en\/#website\",\"url\":\"https:\/\/staging.modalmore.com\/en\/\",\"name\":\"Modal&More\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/staging.modalmore.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/staging.modalmore.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/staging.modalmore.com\/en\/#organization\",\"name\":\"Modal&More\",\"url\":\"https:\/\/staging.modalmore.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/staging.modalmore.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/staging.modalmore.com\/wp-content\/uploads\/2025\/04\/ModalMore-Logotipo-Branco.png\",\"contentUrl\":\"https:\/\/staging.modalmore.com\/wp-content\/uploads\/2025\/04\/ModalMore-Logotipo-Branco.png\",\"width\":122,\"height\":12,\"caption\":\"Modal&More\"},\"image\":{\"@id\":\"https:\/\/staging.modalmore.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ModalCreativity\",\"https:\/\/www.instagram.com\/modalandmore\/\",\"https:\/\/www.linkedin.com\/company\/modal-more\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"teste - Modal&amp;More","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:\/\/staging.modalmore.com\/en\/teste\/","og_locale":"en_US","og_type":"article","og_title":"teste - Modal&amp;More","og_description":"Aguardando resposta da API&#8230; Enviar Lead","og_url":"https:\/\/staging.modalmore.com\/en\/teste\/","og_site_name":"Modal&amp;More","article_publisher":"https:\/\/www.facebook.com\/ModalCreativity","article_modified_time":"2025-09-09T12:16:45+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/staging.modalmore.com\/en\/teste\/","url":"https:\/\/staging.modalmore.com\/en\/teste\/","name":"teste - Modal&amp;More","isPartOf":{"@id":"https:\/\/staging.modalmore.com\/en\/#website"},"datePublished":"2025-09-09T12:15:35+00:00","dateModified":"2025-09-09T12:16:45+00:00","breadcrumb":{"@id":"https:\/\/staging.modalmore.com\/en\/teste\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/staging.modalmore.com\/en\/teste\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/staging.modalmore.com\/en\/teste\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/staging.modalmore.com\/en\/"},{"@type":"ListItem","position":2,"name":"teste"}]},{"@type":"WebSite","@id":"https:\/\/staging.modalmore.com\/en\/#website","url":"https:\/\/staging.modalmore.com\/en\/","name":"Modal&More","description":"","publisher":{"@id":"https:\/\/staging.modalmore.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/staging.modalmore.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/staging.modalmore.com\/en\/#organization","name":"Modal&More","url":"https:\/\/staging.modalmore.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/staging.modalmore.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/staging.modalmore.com\/wp-content\/uploads\/2025\/04\/ModalMore-Logotipo-Branco.png","contentUrl":"https:\/\/staging.modalmore.com\/wp-content\/uploads\/2025\/04\/ModalMore-Logotipo-Branco.png","width":122,"height":12,"caption":"Modal&More"},"image":{"@id":"https:\/\/staging.modalmore.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ModalCreativity","https:\/\/www.instagram.com\/modalandmore\/","https:\/\/www.linkedin.com\/company\/modal-more\/"]}]}},"_links":{"self":[{"href":"https:\/\/staging.modalmore.com\/en\/wp-json\/wp\/v2\/pages\/1679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.modalmore.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/staging.modalmore.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/staging.modalmore.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.modalmore.com\/en\/wp-json\/wp\/v2\/comments?post=1679"}],"version-history":[{"count":7,"href":"https:\/\/staging.modalmore.com\/en\/wp-json\/wp\/v2\/pages\/1679\/revisions"}],"predecessor-version":[{"id":1687,"href":"https:\/\/staging.modalmore.com\/en\/wp-json\/wp\/v2\/pages\/1679\/revisions\/1687"}],"wp:attachment":[{"href":"https:\/\/staging.modalmore.com\/en\/wp-json\/wp\/v2\/media?parent=1679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}