mobilebasic/netjson/example.bas

9 lines
153 B
QBasic
Raw Normal View History

2021-03-29 19:43:07 +03:00
#include "json.bas"
SUB MAIN
DIM IP AS STRING
IP = REQUEST("http://ifconfig.me/ip")
PRINT IP
PRINT REQUEST("http://ipwhois.app/json/" + IP)
END SUB