Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

191
Visualizações
how to go to axios result in express js

hello I have two websites one creates a page and the other is a drupal website where there is an iframe I want to send the iframe URL after the page creation I am working with Axios and express js

here is my code :

router.post("/publish", (req, res) => {
  axios.defaults.baseURL = "https://dev-testingdrupalmodule.pantheonsite.io";
  axios
    .post("/node/1", {
      frameurl: "http://localhost:8000/" + req.body.publish_name + ".html",
    })
    .then(function (response) {
      res.send(response.data);
    })
    .catch(function (error) {
      console.log(error);
    });
});

my problem is the HTML received in the response is not shown properly after I do my post request with Axios i would like to go to my drupal website and see the iframe with the new URL

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda