connecting linux server with flutter

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.

No alt text provided for this image


*[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

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

#flutter #vimaldaga #flutterbylw #righteducation #rightmentor #futureGen #google #dart #androidStudio #appDevelopment #makingIndiafutureready #digitalIndia

要查看或添加评论,请登录

Vishesh Garg的更多文章

  • Task 05 ??????

    Task 05 ??????

    Task Description ?? ?? Create a blog/article/video about cyber crime cases where they talk about confusion matrix or…

    2 条评论
  • ARTH - Task 30 ??????

    ARTH - Task 30 ??????

    Task Description?? ??? Research for industry use cases of Openshift and create a blog, Article or Video elaborating how…

  • Hello Connections!!!

    Hello Connections!!!

    It was a great opportunity for me to attend a webinar "Redhat expert session on Kubernetes and OpenShift”, which was…

  • Expert session:

    Expert session:

    The overall summary of the yesterday's session is:- Yesterday I attended a mesmerising webinar on "industrial use case…

  • ARTH - Task 16 ??????

    ARTH - Task 16 ??????

    Task Description?? ?? Research how Kubernetes is used in Industries and what all use cases are solved by Kubernetes?…

  • ARTH - Team Task 1 ??????

    ARTH - Team Task 1 ??????

    Task Description?? ?? Create a Menu Using Python integrating all the concepts that have been taught by Vimal sir till…

  • AWS : MPL(Mobile Premier League) Case Study

    AWS : MPL(Mobile Premier League) Case Study

    What is cloud computing? Cloud computing is the on-demand availability of computer system resources, especially data…

    20 条评论
  • HOW TO CONNECT AWS TO ANSIBLE?

    HOW TO CONNECT AWS TO ANSIBLE?

    Step 1: Creating an AWS Account In this article, we will see how to launch an Amazon Web Services (AWS) Elastic Compute…

    4 条评论
  • #TASK1 Ansible(RH 294)

    #TASK1 Ansible(RH 294)

    Write an Ansible PlayBook that does the following operations in the managed nodes: ?? Configure Docker ?? Start and…

社区洞察

其他会员也浏览了