connecting linux server with flutter
* How to setup webserver for serving Web Pages?
step1: install the webserver using (yum install httpd -y) step2: copy the webpages to the by default location /var/www/html step3: start the service using (systemctl start httpd)
* What is GET request, Header, Body, Status Code in webserver? using get we can checkout the internal like it fetches the data from the server using curl -X GET ip/xyz.html
* What is HTTP package?how it help.
*[root@localhost cgi-bin]# cat cal.py
#! /usr/bin/python3
import subprocess
print("content-type: text/html")
print()
cmd = subprocess.getoutput("cal")
print("MY PYTHON")
print(cmd)
*[root@localhost cgi-bin]# python3 date.py
content-type: text/html
MY PYTHON
Wed 29 Jul 20:37:33 IST 2020
#flutter #vimaldaga #flutterbylw #righteducation #rightmentor #futureGen #google #dart #androidStudio #appDevelopment #makingIndiafutureready #digitalIndia