Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

How to get a dictionary from a ZoneAwarePromise

$
0
0

I am currently working on my graduation project for my apprenticeship and I would like to ask a question about it.

I am developing an Ionic App which basically calculates leasing instalements for customers. The app gets information from another project via HTTP Request (the return is a dictionary) and it automatically saves it as a ZoneAwarePromise. My goal is to get the information and show it in a list on the mainpage. How can I achieve this? Thank you for your help. This is the code sample I use for the http request:

const transport = new HTTPTransport("url");
const client = new Client(new RequestManager([transport]));
const result = client.request({method: "getRaten", params: { logname: logname, pwd: pwd, werte}});

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>