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

215
Vistas
Twillio : before building the app, what is the base URL?

I wrote Twillio code to get phone verification in frontend.

And here PRACTICE_BASE_URL was my IP address like below since I just test it on expo. Whenever IP address I changed it.

const PRACTICE_BASE_URL = "http://172.30.1.18:4000";



const sendCode = async () => {
    setPhoneInserted(true);
    setwaitMessage(true);
    // send verfication code to phone number
    await fetch(`${PRACTICE_BASE_URL}/verify/${phone}`, {
      method: "GET",
      headers: {
        "Content-Type": "application/json",
      },
    })
      .then((res) => res.json())
      .then((res) => {
        if (res.status === "pending") {
          setcheckedNumber(phone);
          setwaitMessage(false);
        }
      })
      .catch((err) => {
        setPhoneInserted(false);
        setwaitMessage(false);
        setphone("");
        console.log(err);
        setDisableConfirm(true);
        goDownY.start();
        setVeriBox(true);
        setVerimessage("잘못된 휴대전화번호입니다.");
        reset();
        setretry(true);
      });
  };

I want to build the app in real or beta version from expo now.

So how do I change BASE_URL here?

I searched but not found in Twillio homepage. please help me.

about 4 years ago · Santiago Gelvez
1 Respuestas
Responde la pregunta

0

The usual base URL for the Twilio API is:

https://api.twilio.com/2010-04-01/

The base URL for the Twilio Verify API is:

https://verify.twilio.com/v2/

about 4 years ago · Santiago Gelvez Denunciar
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