Support Topics Documentation Slack YouTube Blog

Codeless handling network result

im making a network http call to a service that returns a json
this is working fine.
but say i want to save the returned json to the database. how can i extract the values from the response ?

Hi,

user Get propery of block from Object menu:
image

Regards,
Stanislaw

Hey
lets say the json if something like this:

{
“fruit”: “Apple”,
“size”: “Large”,
“color”: “Red”
}
if i use “Get property” and set the “of” variable to “fruit”
the result i get is empty []

It should look next way:

Get property fruit of your_object

yes sorry it was a typo
i did it like you said
here is an image

Is Stores type Array or Object?
If this is array, then you should perform this operation on each item in array.

the stores is the result of the http request.
how does codeless handle it? as a string?

the property im trying to get is array. not a string.
i will try to get the array items.

the stores is the result of the http request.
how does codeless handle it? as a string?

It depends on what your http end-point returns.

the result i get is empty []

the property im trying to get is array. not a string.

So maybe the value of this property is just empty array in your case?

got it to work. thank you very much for the support