URL web(get) - Forum

Forum Navigation
You need to log in to create posts and topics.

URL web(get)

Hi everyone,

I purchased visualNeoWeb
I need an information.
I rember with Neobook , that when I callback an URL web , it gave me back the data and I can memorize in one variable.
In VisualNeo WEB when I do same operation , it gave me a file Json.
It is possible to have the data memorize in the variable and not file json?
thanks

@nikyred

I purchased VisualNeoWeb

Congratulations on making a wise choice ... there is no easier (nor more powerful) way to build (client side of) Apps.

I rember with Neobook , that when I callback an URL web

I trust you were referring to the InternetGet command ?

What command are you using VisualNEOWeb ?

Most modern websites now service requests for data in a JSON format (i call it comma-separated-values (CSV) on steroids !!!

However, this data is not returned in a file ... the subroutine (in your App) that is specified to receive the response, gets it in JSON format ... you can do what ever you like with it ... including flattening it to a string (called Stringify) ... it would help if you post both, the VisualNEOWeb command you are using, and the query (url) you are making.

@nikyred in VisualNEO Wen you can also use FileToVar command. Just remember loading is asyncronous and the URL file location must allow Cross-origin resource sharing (CORS).
Let us know if you have any doubt.

Regards.

Thanks to all.

I'll try and I will give my feedback

Quote from luishp on May 3, 2020, 6:46 pm

@nikyred in VisualNEO Wen you can also use FileToVar command. Just remember loading is asyncronous and the URL file location must allow Cross-origin resource sharing (CORS).
Let us know if you have any doubt.

Regards.

It is a  command  for to store data json file into variable?

It is a command for to store data json file into variable?

No, just text files. For JSON use LoadJSON instead.