{"id":227,"date":"2017-04-15T14:13:05","date_gmt":"2017-04-15T17:13:05","guid":{"rendered":"http:\/\/www.ctasoftware.com.br\/blog\/?p=227"},"modified":"2017-04-15T14:14:48","modified_gmt":"2017-04-15T17:14:48","slug":"invocar-chamar-web-api-via-php","status":"publish","type":"post","link":"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/","title":{"rendered":"Invocar\/Chamar WEB API via PHP"},"content":{"rendered":"<p>Chamar API atrav\u00e9s de PHP.<br \/>\nA fun\u00e7\u00e3o abaixo chama uma Web API atrav\u00e9s do PHP.<\/p>\n<p>[php]<br \/>\nfunction CallAPI($method, $url, $data = false)<br \/>\n{<br \/>\n    $curl = curl_init();<\/p>\n<p>    switch ($method)<br \/>\n    {<br \/>\n        case &#8220;POST&#8221;:<br \/>\n            curl_setopt($curl, CURLOPT_POST, 1);<\/p>\n<p>            if ($data)<br \/>\n                curl_setopt($curl, CURLOPT_POSTFIELDS, $data);<br \/>\n            break;<br \/>\n        case &#8220;PUT&#8221;:<br \/>\n            curl_setopt($curl, CURLOPT_PUT, 1);<br \/>\n            break;<br \/>\n        default:<br \/>\n            if ($data)<br \/>\n                $url = sprintf(&#8220;%s?%s&#8221;, $url, http_build_query($data));<br \/>\n    }<\/p>\n<p>    \/\/ Autentica\u00e7\u00e3o &#8211; opcional<br \/>\n    curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);<br \/>\n    curl_setopt($curl, CURLOPT_USERPWD, &#8220;username:password&#8221;);<\/p>\n<p>    curl_setopt($curl, CURLOPT_URL, $url);<br \/>\n    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);<\/p>\n<p>    $result = curl_exec($curl);<\/p>\n<p>    curl_close($curl);<\/p>\n<p>    return $result;<br \/>\n}<br \/>\n[\/php]<\/p>\n<p>Exemplo de chamada:<\/p>\n<p>[php]<br \/>\necho CallAPI(&#8220;GET&#8221;, &#8220;http:\/\/www.seu-site.com.br\/&#8221;, array(&#8220;parametro&#8221; => &#8220;valoe&#8221;));<br \/>\n[\/php]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Chamar API atrav\u00e9s de PHP. A fun\u00e7\u00e3o abaixo chama uma Web API atrav\u00e9s do PHP. [php] function CallAPI($method, $url, $data = false) { $curl = curl_init(); switch ($method) { case &#8220;POST&#8221;: curl_setopt($curl, CURLOPT_POST, 1); if ($data) curl_setopt($curl, CURLOPT_POSTFIELDS, $data); break; case &#8220;PUT&#8221;: curl_setopt($curl, CURLOPT_PUT, 1); break; default: if ($data) $url = sprintf(&#8220;%s?%s&#8221;, $url, http_build_query($data)); } [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[7],"tags":[43],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Invocar\/Chamar WEB API via PHP - CTASoftware Blog<\/title>\n<meta name=\"description\" content=\"CTASoftware Blog Invocar\/Chamar WEB API via PHP\" \/>\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.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Invocar\/Chamar WEB API via PHP - CTASoftware Blog\" \/>\n<meta property=\"og:description\" content=\"CTASoftware Blog Invocar\/Chamar WEB API via PHP\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/\" \/>\n<meta property=\"og:site_name\" content=\"CTASoftware Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-15T17:13:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-15T17:14:48+00:00\" \/>\n<meta name=\"author\" content=\"Everton Gon\u00e7alves\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Everton Gon\u00e7alves\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/\"},\"author\":{\"name\":\"Everton Gon\u00e7alves\",\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/#\/schema\/person\/34f7fa2c76834d8410f6dd43e26fd3e4\"},\"headline\":\"Invocar\/Chamar WEB API via PHP\",\"datePublished\":\"2017-04-15T17:13:05+00:00\",\"dateModified\":\"2017-04-15T17:14:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/\"},\"wordCount\":127,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/#organization\"},\"keywords\":[\"PHP\"],\"articleSection\":[\"PHP\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/\",\"url\":\"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/\",\"name\":\"Invocar\/Chamar WEB API via PHP - CTASoftware Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/#website\"},\"datePublished\":\"2017-04-15T17:13:05+00:00\",\"dateModified\":\"2017-04-15T17:14:48+00:00\",\"description\":\"CTASoftware Blog Invocar\/Chamar WEB API via PHP\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/www.ctasoftware.com.br\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Invocar\/Chamar WEB API via PHP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/#website\",\"url\":\"https:\/\/www.ctasoftware.com.br\/blog\/\",\"name\":\"CTASoftware Blog\",\"description\":\"Para Desenvolvedores De Software\",\"publisher\":{\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ctasoftware.com.br\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/#organization\",\"name\":\"CTASoftware\",\"url\":\"https:\/\/www.ctasoftware.com.br\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.ctasoftware.com.br\/blog\/wp-content\/uploads\/2023\/06\/logocta.png?fit=225%2C44&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.ctasoftware.com.br\/blog\/wp-content\/uploads\/2023\/06\/logocta.png?fit=225%2C44&ssl=1\",\"width\":225,\"height\":44,\"caption\":\"CTASoftware\"},\"image\":{\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/#\/schema\/person\/34f7fa2c76834d8410f6dd43e26fd3e4\",\"name\":\"Everton Gon\u00e7alves\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.ctasoftware.com.br\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3e5e7fe964521f618a2b09d3fbb7800f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3e5e7fe964521f618a2b09d3fbb7800f?s=96&d=mm&r=g\",\"caption\":\"Everton Gon\u00e7alves\"},\"description\":\"http:\/\/www.ctasoftware.com.br\",\"sameAs\":[\"http:\/\/www.ctasoftware.com.br\"],\"url\":\"https:\/\/www.ctasoftware.com.br\/blog\/author\/everton-goncalves\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Invocar\/Chamar WEB API via PHP - CTASoftware Blog","description":"CTASoftware Blog Invocar\/Chamar WEB API via PHP","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.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/","og_locale":"pt_BR","og_type":"article","og_title":"Invocar\/Chamar WEB API via PHP - CTASoftware Blog","og_description":"CTASoftware Blog Invocar\/Chamar WEB API via PHP","og_url":"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/","og_site_name":"CTASoftware Blog","article_published_time":"2017-04-15T17:13:05+00:00","article_modified_time":"2017-04-15T17:14:48+00:00","author":"Everton Gon\u00e7alves","twitter_misc":{"Escrito por":"Everton Gon\u00e7alves","Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/#article","isPartOf":{"@id":"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/"},"author":{"name":"Everton Gon\u00e7alves","@id":"https:\/\/www.ctasoftware.com.br\/blog\/#\/schema\/person\/34f7fa2c76834d8410f6dd43e26fd3e4"},"headline":"Invocar\/Chamar WEB API via PHP","datePublished":"2017-04-15T17:13:05+00:00","dateModified":"2017-04-15T17:14:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/"},"wordCount":127,"commentCount":0,"publisher":{"@id":"https:\/\/www.ctasoftware.com.br\/blog\/#organization"},"keywords":["PHP"],"articleSection":["PHP"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/","url":"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/","name":"Invocar\/Chamar WEB API via PHP - CTASoftware Blog","isPartOf":{"@id":"https:\/\/www.ctasoftware.com.br\/blog\/#website"},"datePublished":"2017-04-15T17:13:05+00:00","dateModified":"2017-04-15T17:14:48+00:00","description":"CTASoftware Blog Invocar\/Chamar WEB API via PHP","breadcrumb":{"@id":"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ctasoftware.com.br\/blog\/invocar-chamar-web-api-via-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/www.ctasoftware.com.br\/blog\/"},{"@type":"ListItem","position":2,"name":"Invocar\/Chamar WEB API via PHP"}]},{"@type":"WebSite","@id":"https:\/\/www.ctasoftware.com.br\/blog\/#website","url":"https:\/\/www.ctasoftware.com.br\/blog\/","name":"CTASoftware Blog","description":"Para Desenvolvedores De Software","publisher":{"@id":"https:\/\/www.ctasoftware.com.br\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ctasoftware.com.br\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.ctasoftware.com.br\/blog\/#organization","name":"CTASoftware","url":"https:\/\/www.ctasoftware.com.br\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.ctasoftware.com.br\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.ctasoftware.com.br\/blog\/wp-content\/uploads\/2023\/06\/logocta.png?fit=225%2C44&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.ctasoftware.com.br\/blog\/wp-content\/uploads\/2023\/06\/logocta.png?fit=225%2C44&ssl=1","width":225,"height":44,"caption":"CTASoftware"},"image":{"@id":"https:\/\/www.ctasoftware.com.br\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.ctasoftware.com.br\/blog\/#\/schema\/person\/34f7fa2c76834d8410f6dd43e26fd3e4","name":"Everton Gon\u00e7alves","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.ctasoftware.com.br\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3e5e7fe964521f618a2b09d3fbb7800f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3e5e7fe964521f618a2b09d3fbb7800f?s=96&d=mm&r=g","caption":"Everton Gon\u00e7alves"},"description":"http:\/\/www.ctasoftware.com.br","sameAs":["http:\/\/www.ctasoftware.com.br"],"url":"https:\/\/www.ctasoftware.com.br\/blog\/author\/everton-goncalves\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6ACmG-3F","jetpack-related-posts":[{"id":340,"url":"https:\/\/www.ctasoftware.com.br\/blog\/converter-data-em-php-com-apenas-uma-linha\/","url_meta":{"origin":227,"position":0},"title":"Converter Data em PHP com apenas uma linha","author":"Everton Gon\u00e7alves","date":"8 de dezembro de 2018","format":false,"excerpt":"Converter o formato de data do banco (funciona para o MySQL e outros bancos) para o formato brasileiro em php. Considerando que : mostrar\u00e1 09\/12\/2018 22:00:06. mostrar\u00e1 09\/12\/2018. Simples assim. \ud83d\ude42 Essa solu\u00e7\u00e3o funciona para datas no formato yyyy-mm-dd hh:mm:ss e yyyy-mm-dd. D\u00e1 para fazer tamb\u00e9m o inverso, alterando o\u2026","rel":"","context":"Em &quot;MySQL&quot;","block_context":{"text":"MySQL","link":"https:\/\/www.ctasoftware.com.br\/blog\/category\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":426,"url":"https:\/\/www.ctasoftware.com.br\/blog\/converter-base64-para-imagem-php\/","url_meta":{"origin":227,"position":1},"title":"Converter base64 para imagem PHP","author":"Everton Gon\u00e7alves","date":"16 de mar\u00e7o de 2021","format":false,"excerpt":"M\u00e9todo para facilitar a convers\u00e3o de base64 para imagem em php public function ArmazenarImagem($id, $data){ if (preg_match('\/^data:image\\\/(\\w+);base64,\/', $data, $type)) { $data = substr($data, strpos($data, ',') + 1); $type = strtolower($type[1]); \/\/ jpg, png, gif if (!in_array($type, [ 'jpg', 'jpeg', 'gif', 'png' ])) { } $data = str_replace( ' ', '+',\u2026","rel":"","context":"Em &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/www.ctasoftware.com.br\/blog\/category\/php\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":114,"url":"https:\/\/www.ctasoftware.com.br\/blog\/criando-e-chamando-procedure-mysql\/","url_meta":{"origin":227,"position":2},"title":"Criando e chamando procedure MySQL","author":"Everton Gon\u00e7alves","date":"26 de maio de 2014","format":false,"excerpt":"Sintaxe da cria\u00e7\u00e3o de uma procedure no MySQL DELIMITER $$ DROP PROCEDURE IF EXISTS `total_alunos` $$ CREATE PROCEDURE `total_alunos` () BEGIN SELECT COUNT(*) FROM alunos; END $$ DELIMITER ; Para chamar atrav\u00e9s do PHP ou Query basta executar o call total_alunos() Simples e pr\u00e1tico :)","rel":"","context":"Em &quot;MySQL&quot;","block_context":{"text":"MySQL","link":"https:\/\/www.ctasoftware.com.br\/blog\/category\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":64,"url":"https:\/\/www.ctasoftware.com.br\/blog\/crud-em-php\/","url_meta":{"origin":227,"position":3},"title":"CRUD em PHP","author":"Everton Gon\u00e7alves","date":"14 de julho de 2012","format":false,"excerpt":"As vezes nos perguntamos, \"Porque utilizar o CRUD em PHP e como utilizar?\", nos deparamos com respostas as complexas demais ou muito simples. Mas porque n\u00e3o utilizar POO com PHP? Porque n\u00e3o utilizar um padr\u00e3o? Porque n\u00e3o seguir o manual php? At\u00e9 hoje n\u00e3o utilizei nenhum framework em PHP, zend,\u2026","rel":"","context":"Em &quot;MySQL&quot;","block_context":{"text":"MySQL","link":"https:\/\/www.ctasoftware.com.br\/blog\/category\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":62,"url":"https:\/\/www.ctasoftware.com.br\/blog\/gerador-de-codigo-php-crud\/","url_meta":{"origin":227,"position":4},"title":"Gerador de C\u00f3digo PHP &#8211; CRUD","author":"Everton Gon\u00e7alves","date":"13 de julho de 2012","format":false,"excerpt":"Com a evolu\u00e7\u00e3o da linguagem, o CTASoftware decidiu lan\u00e7ar um produto que de alguma forma ajude no desenvolvimento PHP. Com o conceito de Orienta\u00e7\u00e3o a Objetos decidimos criar o gerador de c\u00f3digo CRUD. O que ele ir\u00e1 gerar? BE ou VO - Value Object DAO - Data Access Object Como\u2026","rel":"","context":"Em &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/www.ctasoftware.com.br\/blog\/category\/php\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":109,"url":"https:\/\/www.ctasoftware.com.br\/blog\/gerador-de-codigo-php-versao-1-0-3-0\/","url_meta":{"origin":227,"position":5},"title":"Gerador de C\u00f3digo PHP Vers\u00e3o 1.0.3.0","author":"Everton Gon\u00e7alves","date":"17 de abril de 2014","format":false,"excerpt":"Prezados, Disponibilizado no link www.ctasoftware.com.br\/download\/gerador_php.msi a nova vers\u00e3o do gerador de c\u00f3digo php. Principais mudan\u00e7as: Valida\u00e7\u00e3o se valor \u00e9 nulo, antes da inser\u00e7\u00e3o na base de dados. Retornar o \u00faltimo ID inclu\u00eddo ap\u00f3s a inclus\u00e3o na base de dados. Corre\u00e7\u00e3o de BUG ao tratar com muitas tabelas. Obrigado.","rel":"","context":"Em &quot;MySQL&quot;","block_context":{"text":"MySQL","link":"https:\/\/www.ctasoftware.com.br\/blog\/category\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.ctasoftware.com.br\/blog\/wp-json\/wp\/v2\/posts\/227"}],"collection":[{"href":"https:\/\/www.ctasoftware.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ctasoftware.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ctasoftware.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ctasoftware.com.br\/blog\/wp-json\/wp\/v2\/comments?post=227"}],"version-history":[{"count":3,"href":"https:\/\/www.ctasoftware.com.br\/blog\/wp-json\/wp\/v2\/posts\/227\/revisions"}],"predecessor-version":[{"id":230,"href":"https:\/\/www.ctasoftware.com.br\/blog\/wp-json\/wp\/v2\/posts\/227\/revisions\/230"}],"wp:attachment":[{"href":"https:\/\/www.ctasoftware.com.br\/blog\/wp-json\/wp\/v2\/media?parent=227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ctasoftware.com.br\/blog\/wp-json\/wp\/v2\/categories?post=227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ctasoftware.com.br\/blog\/wp-json\/wp\/v2\/tags?post=227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}