Skip to content

An iOS test app for sending data to a remote Python server in JSON format. Usage: to learn how to save data to a remote SQL database.

Notifications You must be signed in to change notification settings

bllizard22/DBTestApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Structure

  • DBTestApp - main Xcode project.

  • http_server - scratch in Python responding on HTTP-connection.

  • JSON_Playground - test files for JSON processing (not used in this project).


Server

  • http_server.py on run launches HTTP-server on declared IP and Port (based on Flask).

  • data.json stores data obtained from HTTP-request.

Notes about iOS-app

Before launch you should set IP:Port in variable host_address (line 16). GET and POST buttons send corresponding sample request to server and print response in Xcode console. Send button sends POST-request with data from textfields and displays server response on the screen.

screen_2 screen_1

About

An iOS test app for sending data to a remote Python server in JSON format. Usage: to learn how to save data to a remote SQL database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published