Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

181
Views
cómo ir al resultado de axios en express js

hola, tengo dos sitios web, uno crea una página y el otro es un sitio web de Drupal donde hay un iframe. Quiero enviar la URL del iframe después de la creación de la página. Estoy trabajando con Axios y express js.

aquí está mi código:

 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); }); });

mi problema es que el HTML recibido en la respuesta no se muestra correctamente después de realizar mi solicitud de publicación con Axios. Me gustaría ir a mi sitio web de Drupal y ver el iframe con la nueva URL.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!