How to show raw responseContent from your app when debugging

Many developers often get stuck when trying to handle the response content from an online server after making a GET request using the web component. Those trying to help often ask to see the raw responseContent being returned. When using companion this can be copied and pasted to the community for those trying to help to use with debugging. This is how you might return that information / data to a label.



Do It Result: 
""Name","Date of Birth","Age"

If you know you are going to be working with a list when it is returned, ensure that you have ShowListsAsJson ticked in Screen1 properties



Do It Result: 
"[["Name", "Date of Birth", "Age"], ["Adah", "06/04/1999", "22"], ["Emerson", "26/09/1954", "66"], ["Krissy", "16/11/1974", "46"], ["Lorin", "09/09/1972", "48"], ["Nicolea", "27/12/1978", "42"], ["Teodorico", "01/09/1961", "59"], ["Ricardo", "06/04/1957", "64"], ["Reggis", "17/09/1982", "38"], ["Brewster", "18/05/1994", "27"], ["Axe", "18/11/1987", "33"], ["Freddy", "25/04/1991", "30"], ["Lockwood", "17/04/1980", "41"], ["Hatti", "10/05/1980", "41"], ["Greggory", "06/04/1990", "31"], ["Auria", "11/09/1992", "28"], ["Fayre", "14/06/1967", "54"], ["Kennith", "08/08/1965", "56"], ["Shanna", "21/10/1967", "53"], ["Bobbe", "05/07/1953", "68"], ["Frants", "04/07/1979", "42"]]"

You can also use this "set a label to an output" method in many other activities when debugging, and this approach is really useful to those trying to help others on the community when they get stuck with data outputs....

Runtime error in the reading part
Simple CRUD with Google Sheets and Apps Script (fixes Hay Kel flaws...)
Why does my app say Error 1109 invalid URL when the url is valid? How do I get the latitude and longtitude from this json file?
Show responseContent Text Copy and Paste Demo
Text argument to "list from csv table"
Text argument to "list from csv table"
Well-Formed list of pairs Error
Error in splitting data and printing to screen!
Error while trying to retrieve data from google sheet?
GSConnected extension list from csv table error
Aplication crush after start
The operation select list item connot accept the arguments
Jeszcze raz logowanie przy użyciu google sheet
List picker not picking the value from the google Sheet
Can anybody help me with this? Web Component not sending data to php
Need help with Filter Bar and Google Sheets as database!
Transform from comma separated text to list
I can't send data to Google Spreadsheet. I have tried all solutions
Editing Google Sheet
About RunTime Error messages... reading Error to read Google sheet data
User vérification :Name, photo, university
Make Pie chart use google sheet data import with chartmaker extension
APP using CloudDB (Cloud Redis DB) works from IA Companion (so far only one issue) but when I use APK, app got Error 908
FAQ Section: Debugging
Attempt to get item number 2 of a list of length 0: []
Tengo un problema con la extracción de datos de google sheets a mi aplicacion en mit app inventor
What should i use if i want to make a listview

(added to FAQ)

great tutorial , they might forget to set ( web.timeout = 0 ) before making the web request

that's super important so the request may take time to be sent but it's guaranteed that it will be executed successfully

default - Web1.Timeout = 0
no need to set anything