Hi Marina,
I made changes from Igor, but I am still getting an error
here are some screenshots
Hello! We'll take a look.
Do you specify object_id? because without this parameter PUT method returns 405 Method Not Allowed.
Also you should set X-Tiggzi-Session-Token, without this parameter method PUT returns 401 Unauthorized
In mapping from localStorage variable favorites to parameter favorites add the following code:
prereturn JSON.parse(value);/pre
Hi Michael,
It depends on response structure.
If this is an array of objects take a look at here please: http://docs.appery.io/documentation/u...
If this is an array of simple values you would need JavaScript code to process the array.
Thanks Katya,
this is an entry in the array
{"taxicompanyname":"Airport Taxis","town":"NEWCASTLE UPON TYNE","taxiemail":"a href="mailto:frank@airport-taxis.co.uk" rel="nofollow"frank@airport-taxis.co.uk/a","taxiphone":"0191 4880751","textback":"Text Back"}
there are 5 labels, so I guess I will need to use js,
do you have a sample of the code for this
Is it correct that I need to map the array to localstorage and then run the js to populate the labels in the collapsible block?
thanks
hello
Hi Michael,
There are objects in your array so you can use mapping and the process will be automated. You can find an example on the link above.