#http

7 commande(s) avec le tag #http

Commandes partagées par la communauté CodeBox, copiables en un clic.

Flutter Ajouter http

Ajoute le package http officiel Dart.

bash
flutter pub add http

Redémarre Apache (httpd) sur CentOS/RHEL.

bash
sudo systemctl restart httpd

Génère et installe un certificat SSL Let's Encrypt pour Apache.

bash
sudo certbot --apache -d mon-site.com -d www.mon-site.com

Active le module SSL pour les connexions HTTPS.

bash
sudo a2enmod ssl

Ajoute Dio comme client HTTP avancé.

bash
flutter pub add dio

Démarre le service Apache (httpd) sur CentOS/RHEL.

bash
sudo systemctl start httpd

Génère un interceptor HTTP.

bash
ng g interceptor interceptors/auth