Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

190
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda