Relative Content

Tag Archive for angulartypescriptangular-httpclient

angular 16 async await for http post finish

I have a function called login() that calls an HTTP POST request to generate a SID. When the function ends I do apply to a local variable named this.sid.
When I call the Login() function I expect the variable thid.sid to contain the SID value but instead I get undefined