Skip to content

Commit

Permalink
http client
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasBeck777 committed Oct 22, 2022
1 parent 2718a7a commit 708e25d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src3/client1.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import requests
api_url = "https://jsonplaceholder.typicode.com/todos/1"
response = requests.get(api_url)
json = response.json()
print(json)
input()

0 comments on commit 708e25d

Please sign in to comment.