Ask coding questions

← Back to all posts
How can I send and receive requests to my replit project?
oskxzr (0)


I was just wondering if there is a way to send requests to my replit project?

If so, how can I do that? And how can I listen for events from my code in replit?

Script: (somewhere else on the internet)
HTTP.Post("", JSONEncodedData)

Listens for the event and executes code

My main language is Python if there is anyone that has a solution for this in Python.

Saml2020 (86)

With using Python to send data you can use the requests libary

Check out the requests libary here:

To listen for data you'll have to make a webserver, either with QuickAPI, Flask or others.

ch1ck3n (2882)

@Saml2020 you spelt response wrong btw

Saml2020 (86)

@ch1ck3n Ah yes sorry about that...