How to download a file with Angular

angular download a file

There are some methods to download a file with Angular. One is to obtain a link that leads to a base64 downloadable file, usually provided by a service.The first method is based on the classic but new generation html.We provide for the generation of the necessary components and services. In […]

Read More…

Tips: test PWA Angular apps locally

The Angular team has provided a quick command to implement the so-called PWA app. Now, however, the classic ng serve command does not activate the potential of this type of app.One way to activate service workers is to use an alternative local web server that simulates a real online web […]

Read More…

Obscure sensible data – Javascript

Obscure sensible datas

Something we can have the request to obscure sensible data for hiding purposes of information.Pay attention that this is not a security prone method to hide sensible informations because someone can search on network requests and response and find what you’re trying to hide. We should do a true shadowing […]

Read More…

How to fix CORB warning on OPTIONS request

If you see this annoying warning on the Console when you have finally implemented your “perfect” authentication system, you are not the only one: Perhaps using an interceptor, which I’ll explain to you on other occasions. The reason is the method of an OPTIONS request for preliminary verification, to perform […]

Read More…