Posts by Lucas Souza • 76 points
3 posts
-
1
votes1
answer100
viewsA: Problem with Http Request Angular
Remove the .then of Promise if you want to wait for the request to be completed before your code continues. Stay like this: async teste() { this.usuarioDados = await this.http .get(url)…
-
1
votes1
answer47
viewsA: Failure return on Submit
If I understand what is happening, the server response is a JSON containing the key { resultado: "Cógido: 0000 ... tente novamente", sucesso: false } In your code snippet there is a logical error…
-
4
votes1
answer177
viewsQ: How to calculate the download time of a website using wget?
I am working on a project where I need to calculate the loading time of a webpage for optimization purposes. I’m using this command: $ time wget -H -p --delete-after melga.com.br 2&>…