Python Forum
How to access a web service from a python script?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to access a web service from a python script?
#1
I have been trying to create a web service using python and flask. I have a simple one created but I am unsure how to access it from code. I want a client python script that gets and puts data into the database through the web service. In the web service, I connect to the database and have my SELECT and INSERT functions as well.

In the examples I have found I see curl commands used to access the web service. How do I do this from a Python script?
Reply


Messages In This Thread
How to access a web service from a python script? - by dangermaus33 - Dec-03-2020, 06:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need help for script access via webdriver to an open web page in Firefox Clixmaster 1 1,303 Apr-20-2023, 05:27 PM
Last Post: farshid
  Creating a RESTful web service and web service client dangermaus33 0 1,302 Dec-01-2020, 09:56 PM
Last Post: dangermaus33
  Service Now CSV Export Redirection Python mavecnirp 1 2,817 Jul-24-2018, 04:09 PM
Last Post: nilamo
  How to access py script variables through web app ? BennyBubble 1 2,431 Mar-16-2018, 09:43 AM
Last Post: thomasp
  python 3.x and selenium. Service unexpectedly exited volkoshkursk 0 3,676 Aug-12-2017, 12:17 PM
Last Post: volkoshkursk

Forum Jump:

User Panel Messages

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