- Adicione no request para obter o access token a seguinte informação no body como JSON:
 
{
    "username" : "[email protected]",
 "password" : "teste123",
| { | |
| "lead":{ | |
| "name":"{{consumidor.nome}}", | |
| "phone":"{{consumidor.telefone}}", | |
| "cpf":"{{consumidor.cpf}}", | |
| "product":"{{produto.nome}}", | |
| "email":"{{consumidor.email}}", | |
| "created_at":"{{criado_em}}", | |
| "message":"{{mensagem}}", | |
| "id":"{{id}}" | 
| ["https://www.webmotors.com.br/comprar/volkswagen/gol/16-msi-totalflex-4p-manual/4-portas/2020-2021.0/43490294", "https://www.webmotors.com.br/comprar/jeep/compass/20-16v-flex-longitude-automatico/4-portas/2019-2020.0/43466499", "https://www.webmotors.com.br/comprar/fiat/palio/10-mpi-elx-8v-flex-4p-manual/4-portas/2006-2007.0/43320638", "https://www.webmotors.com.br/comprar/ford/fiesta/16-mpi-hatch-8v-flex-4p-manual/4-portas/2011-2012.0/43391675", "https://www.webmotors.com.br/comprar/volkswagen/gol/10-mi-trendline-8v-flex-4p-manual/4-portas/2015-2015.0/43407802", "https://www.webmotors.com.br/comprar/ford/fusion/23-sel-16v-gasolina-4p-automatico/4-portas/2008-2008.0/43372756", "https://www.webmotors.com.br/comprar/chevrolet/montana/14-mpfi-ls-cs-8v-flex-2p-manual/2-portas/2016-2017.0/43377626", "https://www.webmotors.com.br/comprar/fiat/punto/14-attractive-8v-flex-4p-manual/4-portas/2015-2016.0/43305921", "https://www.mobiauto.com.br/carros/sp-maua/fiat/palio/2007/elx10flex4p/detalhes/5739178", "https://www. | 
| { | |
| "Cc" => "[email protected]", | |
| "Content-Transfer-Encoding" => "8bit", | |
| "Content-Type" => "text/html; charset=UTF-8", | |
| "Date" => "Thu, 21 Jul 2022 20:09:26 +0000", | |
| "From" => "HDF Veículos <[email protected]>", | |
| "Message-Id" => "<[email protected]>", | |
| "Mime-Version" => "1.0", | |
| "Received" => "from hdfvei43 by sh-pro96.hostgator.com.br with local (Exim 4.95) (envelope-from <[email protected]>) id 1oEcUA-002dCW-Ps; Thu, 21 Jul 2022 17:09:26 -0300", | |
| "Subject" => "NOVO LEAD INTERESSADO EM COMPRAR CARRO", | 
| "<https://click.pstmrk.it/2s/neurologic.com.br%2F%3Futm_source%3Demail%26utm_medium%3Dnovo_lead%26utm_campaign%3Dlogo/vhZlqTYC/GqFI/j2lA-42NqA>\n\n\nParabéns!\n\nUm novo lead foi gerado pela Neurologic 🎉\n\nNome\nTeste\n\nE-mail\[email protected]\n\nTelefone\n(41) 9967-87445\n\nModelo\ncg150\n\nTipo\nNova\n\nCPF\n080.677.989-66\n\nURL\nhttps://www.hmotors.com.br/\n\nVeiculo\nSim\n\nCriado em\n10/11/2020 12:47\n\nPágina de origem\n-\n\nAcessar Painel\n<https://click.pstmrk.it/2s/app.neurologic.com.br%2F%3Futm_source%3Demail%26utm_medium%3Dnovo_lead%26utm_campaign%3Dpainel/vxZlqTYC/GqFI/I8W2EBzify>\n\nCentral de Ajuda\n<https://click.pstmrk.it/2s/help.neurologic.com.br%2F%3Futm_source%3Demail%26utm_medium%3Dnovo_lead%26utm_campaign%3Dajuda/wBZlqTYC/GqFI/Ti2FcxTjDE>\n\nTransformando Visitantes em Clientes" | 
| from selenium import webdriver | |
| from selenium.webdriver.support.ui import WebDriverWait | |
| from selenium.webdriver.support import expected_conditions as EC | |
| from selenium.webdriver.common.by import By | |
| from selenium.webdriver.common.keys import Keys | |
| driver = webdriver.Chrome() | |
| driver.get("https://google.com") | 
| require 'http' | |
| require 'base64' | |
| # HTTP monkeypatch in onder to preserve the keys on the headers. | |
| # This is to avoid client_id to become client-id (WRONG) | |
| module DontNormalizeUnderscoreHeaders | |
| def normalize_header(name) | |
| return name if name.include?('_') | 
{
    "username" : "[email protected]",
 "password" : "teste123",
| <?xml version="1.0" encoding="UTF-8"?> | |
| <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom"> | |
| <Folder> | |
| <name>Lugares temporários</name> | |
| <open>1</open> | |
| </Folder> | |
| </kml> | 
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: my-alb | |
| labels: | |
| app: my-app | |
| annotations: | |
| kubernetes.io/ingress.class: "alb" | |
| alb.ingress.kubernetes.io/scheme: "internet-facing" | |
| alb.ingress.kubernetes.io/target-type: "instance" | 
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: my-nginx-ingress | |
| annotations: | |
| kubernetes.io/ingress.class: nginx | |
| nginx.ingress.kubernetes.io/rewrite-target: / | |
| spec: | |
| rules: | |
| - host: myhost.mydomain.org |