Skip to content

KinggMustafa/2102-Lab4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Flask Server with Token-Based Authentication

Overview

This project demonstrates a simple client-server interaction using Python's httpx and Flask. The client sends a login request to the server with an ID and token for authentication, and if successful, the client can send further authorized requests to the server. The server then echoes the received data.

Requirements

  • Python 3
  • Flask
  • httpx

Installation

  1. Clone the repository: git clone
    1. run create a public port, and run my-server.py. then in another terminal run my-calls.py to the message printed to terminal.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Generated from github/codespaces-blank