Answers for "https call on http"

1

HTTP to HTTPS

# .htaccess
# WordPress Website von http zu https umziehen
# Move WordPress website from http to https
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
Posted by: Guest on February-16-2021
0

http request using http methods

var client = new http.Client(); 
try { 
   print(await client.get('https://flutter.dev/')); 
} 
finally { 
   client.close(); 
}
Posted by: Guest on June-23-2021

Browse Popular Code Answers by Language