Hello,
I've got a web component in my app which was go to a url and get its content for me.
It was working yesterday and I did not change anything but now it is not working.
It goes to url, response code is 200 but in content I saw:
"Please turn JavaScript on and reload the page"
How can I turn on js in web component?
Thanks in advance.
Addition edit: how to send proper user agent data to website if its possible? so website can not understand that I am connecting with web component and will not occur errors.
As I said, if you call a web page with the web page, it will return the source of the page, the same as if you right click on the page in a browser and select view-source. I see it is returning an error page, nonetheless.
You say it was working yesterday. What was working ? Just calling the url you have provided will not "do" anything.
This is AWASOME thanks, but I could not figure out how to get page source inside a variable.
When I did what you said, I can see source code but I can not do anything with it.
I was using "web" to get source code as a variable. Is it possible in webviewer?
thank you