Python Forum
Python automation GET/POST/REQUEST
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python automation GET/POST/REQUEST
#1
Hello All,

I have a Python web based project(UI is designed with Java and it is parsed to use by python) which can load a project as JSON, I can run the calculations and save the output as JSON. Now what I am trying to do is to automatically do this functionality without even using the UI.
I would have a JSON file with all the necessary inputs which I would fire it to my project say the load project part and automatically trigger the calculation module and then return back the result as JSON.

Additional information: My Python project already use the Python web services to POST and GET the specific modules, like
when I run the url in my browser it links up with the server and downloads the required UI for example my login screen then so on.

I can also give more information, plus I am only a beginner in python programming.
Any tips, suggestion and advises are much appreciated.

Thanks in advance.
Reply
#2
take a look at flask for your web programming.
There are several tutorials available here:

https://python-forum.io/Thread-Flask-Sta...ent-part-1
https://python-forum.io/Thread-Flask-Ajax-in-Flask
https://python-forum.io/Thread-Flask-Tro...n-function
https://python-forum.io/Thread-Flask-Weather-app
https://python-forum.io/Thread-Flask-Boo...gulp-bower
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Automation of GUI by python function dghosal 4 774 Aug-18-2023, 10:23 AM
Last Post: dghosal
  home automation using python barryjo 1 1,163 Jul-24-2022, 09:09 PM
Last Post: Larz60+
  how can I correct the Bad Request error on my curl request tomtom 8 4,968 Oct-03-2021, 06:32 AM
Last Post: tomtom
  Python Help, New User, Computer Automation hexagonalyeti 2 1,625 Jun-25-2021, 11:43 AM
Last Post: hexagonalyeti
  python automation newcode 3 71,008 Feb-05-2021, 04:59 PM
Last Post: nilamo
  Python Request Errors PythonNoob1998 7 3,772 Jan-07-2021, 05:18 PM
Last Post: buran
  ImportError: cannot import name 'Request' from 'request' abhishek81py 1 3,861 Jun-18-2020, 08:07 AM
Last Post: buran
  Unable post request to AWS elasticsearch service Rupini 0 1,868 May-18-2020, 08:27 AM
Last Post: Rupini
  Automation using python Santhosh_Sangar 0 1,580 Mar-11-2020, 01:04 AM
Last Post: Santhosh_Sangar
  loop in pyautogui (python automation GUI application) pyprogrammer 0 4,719 Feb-12-2020, 02:52 PM
Last Post: pyprogrammer

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020