I've built a restAPI using Flask and tested it in local device. I want to host server in my local device(my desktop) and want to send request from another device(my laptop).
Searching for this gave me lots of resources on how to host server on a platform or on internet. I just want to test before hosting it elsewhere.
EDIT:
from my laptop:
path = f'http://{hosted_server_ip}:{hosted_server_port}/{endpoint}'
requests.post(path, json=input_data)
outputting ConnectionRefusedError