Curl in app inventor

hello,
can someone explain me how to execute several curl commands at once.

I want to run this in app inventor:

curl "https://m.tiktok.com/api/user/list/?aid=1988&app_name=tiktok_web&device_platform=web_pc&device_id=6975424626168399366&region=ES&priority_region=ES&os=windows&referer=&root_referer=https:^%^2F^%^2Fwww.tiktok.com^%^2F^%^40vovgace^%^2Fvideo^%^2F6980331339815980293^%^3Fis_copy_url^%^3D1^%^26is_from_webapp^%^3Dv1&cookie_enabled=true&screen_width=1366&screen_height=768&browser_language=es-ES&browser_platform=Win32&browser_name=Mozilla&browser_version=5.0+(Windows+NT+10.0^%^3B+Win64^%^3B+x64)+AppleWebKit^%^2F537.36+(KHTML,+like+Gecko)+Chrome^%^2F91.0.4472.124+Safari^%^2F537.36&browser_online=true&verifyFp=verify_kqpizdo3_BSmes0RV_jYLI_4fP4_AP52_T3IpXI0bFl9K&app_language=es&timezone_name=Europe^%^2FMadrid&is_page_visible=true&focus_state=true&is_fullscreen=false&history_len=9&battery_info=1&scene=21&count=10&maxCursor=0&minCursor=0&_signature=_02B4Z6wo00f01.dfJTwAAIDBO39IdILGn5.3XyGAAJ0.0c" ^
  -H "authority: m.tiktok.com" ^
  -H "accept: application/json, text/plain, */*" ^
  -H "x-secsdk-csrf-token: 00010000000178f2160e35520de832d1b56f02172c9728010137feae3c3ed8abf62c41eda638168eaa668cb5697b" ^
  -H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" ^
  -H "sec-gpc: 1" ^
  -H "origin: https://www.tiktok.com" ^
  -H "sec-fetch-site: same-site" ^
  -H "sec-fetch-mode: cors" ^
  -H "sec-fetch-dest: empty" ^
  -H "referer: https://www.tiktok.com/" ^
  -H "accept-language: es-ES,es;q=0.9" ^
  -H "cookie: tt_webid_v2=6975424626168399366; tt_webid=6975424626168399366; passport_csrf_token_default=7950c43b8eafe5fed46f6420a3bde559; store-idc=maliva; store-country-code=es; passport_csrf_token=7950c43b8eafe5fed46f6420a3bde559; cookie-consent=^{^%^22ga^%^22:true^%^2C^%^22af^%^22:true^%^2C^%^22fbp^%^22:true^%^2C^%^22lip^%^22:true^%^2C^%^22version^%^22:^%^22v2^%^22^}; R6kq3TV7=ALfJUnJ6AQAArGkEyF6lEjGclTk4hE0E9Xe2J-yPSHqq1f-Bzh82JCtDgNWh^|1^|0^|c50ea4d2ae2fb975f36cffaa7a2d742b2684e1e8; bm_sz=62454092E173D6F9F3BE52ED0F7DCA85~YAAQlCmR1K+ez1J6AQAAs85ScgwAdCBbFZ/msBGTCeAiGNDvxMWbfCyWn1WgsrrpJ/X8QINYIiGNqMnj7phX16TgpLESXNXumj3RELxVVlxYRhp1XeEkZSqRZTPgxhY3NaBdWR5kgUpah+Tfts1tF9AUdT3eaEWik+pCL9E6gQLzI344y1clJqoOenIeUqNd; _abck=9B301F0632DF88B64326C67C47BAD148~-1~YAAQlCmR1LCez1J6AQAAs85ScgZU4q4N6eq06hD1kA+osdT1IXNsMVLNGgxTCWq/aym4Khp/51Tw+wo5aA0YoPm45TdndEdlFCcxa8F8nU9AvW5FR6hg1YZO7Zltm3ZDBlicD8RE14IgjQ+0G3PCwrfWVJxEyVSsaIHUNZx0/zcc2BQgK70t/SzuikhOowvjWgInUMhHlVnqWkDimYcJSBIM7P1YdqDQRG5Y78yIdQnPprzaoeVQrw1YHpujQkiKuW63TeFt4454LlmLJbTcmHai6ankKGUNkhhxlNDMZlKf9rITiFl9qphgbVCTWpVqz4rhtuAftSgkJ8w74GLoFaKPIMlG7+TePXsEK4rnBXustcyOA8rSNZBfu9Oxb2Bkda9/+oKrJKlazQ==~-1~-1~-1; tt_csrf_token=GM7L-x5TnBk1LrSJD2cNUlAI; ak_bmsc=DD36DB0E83021F74D2E37EE322B5BFBA~000000000000000000000000000000~YAAQXePRTaAPBRh6AQAAEyXFcgwbNX0+Lh2Qn32HFaDGFHnh81gRHqMKr07YwqBd7ZrT3XM0x4w6b7Jve/Ey3zwPNE6/kcRQ+3j8rLdKJQ0y7IjYERV0iBRiGrzfSbfhS53SF2rttAI2stGxnTK82RIphyXNrwMl3WwxsDdrtxpaTE7Miin3qf2eFiaGlQ2lAAWiHNfe5gz3TZpDaA9q7B6itCMFbX7bJmwWBGXuFuCVeCl64F3paxL3kmdmg+yCY07HP4NuDdmXhvJhmrOifRI5RqCdhcZvu5ncQOHsF3L8XyNLgBe0/Wg4DnqmJy6AhyCU+hWcUMtI4mjUU+Xl1PiorLKadJXlz0Wp5yuBimfExbFVUcr+hwbGjMZTFvDkie4DwunJ8yE5; csrf_session_id=946008c3888a43c7872e1911540ce35b; passport_auth_status=b11e9b7140ac835f1a31452b63a8e0c6^%^2Cf6a02013849b2f489c4e6e57c1b2e747; passport_auth_status_ss=b11e9b7140ac835f1a31452b63a8e0c6^%^2Cf6a02013849b2f489c4e6e57c1b2e747; sid_guard=a438dde89097a6d037d8b950e3e83a67^%^7C1625423556^%^7C5184000^%^7CThu^%^2C+02-Sep-2021+18^%^3A32^%^3A36+GMT; uid_tt=3e7e2670b27f78e33f01e68764b1663eb3b3e936064864662418fb204386fa22; uid_tt_ss=3e7e2670b27f78e33f01e68764b1663eb3b3e936064864662418fb204386fa22; sid_tt=a438dde89097a6d037d8b950e3e83a67; sessionid=a438dde89097a6d037d8b950e3e83a67; sessionid_ss=a438dde89097a6d037d8b950e3e83a67; cmpl_token=AgQQAPOUF-RMpbBSWVmw8N08-qw2jtfYv4QfYP7FKQ; bm_sv=B101A8ECAB64039CC0CA641B0C44B69F~D6c+xDwp3bQnZ31xGGszJaE1aP+xlbRXmT3uIf+7Y/c0qJGAnPwgjhw69nj2fUsqSeIMj4rHkj4jUb9c2AqOeA+gbeGiNEXzHLSUPKqwxpnZYYMxLPho23EdclAnEnJ9okbPR7UQHDFPuK8sMxNSgHBnE3DuuPtClPvZYs3dLHY=; ttwid=1^%^7CU4cBz3GHTfuFUio9nU5q-XR2OduKaygC0aAHCO0z2V8^%^7C1625423871^%^7Ca01701fef692f0eb99914e81498bb631386f72ee41387db115062d185413a2ca; odin_tt=3a4e2efea4788ee1521fce00eda53a7a9606d1a265bbcbd746668e090de62d7ca83bee0cb802bbc802e67dd8b108526144cb41437ba922c47a5a87106629cfc15bff8ed9c5d25bb639a7162fd4943e9e" ^
  --compressed

is it possible?

thanks

Maybe it:
https://www.baeldung.com/java-curl

1 Like

Ensure that you check that curl is installed and available on the device (it may be there on your test device , but maybe not on another....)

1 Like

how can I check from the settings if "curl" is installed? can it be removed externally, or must it contain it when purchased? (unfortunately after months of planning I realized that my tablet does not have it despite being a brand new tab8 2022 :frowning: how can I solve?

Try

4 Likes

thanks :grinning::grinning::grinning:

@Massimiliano please do not spam communities, solution was provided in Kodular's community

2 Likes