<filename>Topic1/01_simple_web_server/client/client.py
import requests

url = "http://localhost:3030"
headers = {
    'accept': "application/json",
    'content-type': "application/json"
}

json = {
	"jsonrpc": "2.0",
	"method": "say_hello",
        "params": {"name": "<NAME>"},
	"id":1
}

response = requests.request("POST", url, json=json, headers=headers)

print(response.text)

<filename>Topic1/01_simple_web_server/client/client.py
import requests

url = "http://localhost:3030"
headers = {
    'accept': "application/json",
    'content-type': "application/json"
}

json = {
	"jsonrpc": "2.0",
	"method": "say_hello",
        "params": {"name": "<NAME>"},
	"id":1
}

response = requests.request("POST", url, json=json, headers=headers)

print(response.text)
