import streamlit as st import requests url = st.text_input("Enter URL", "https://ifconfig.me") st.write("Response: " + requests.get(url).text)