Hi, Is there a way to store user data on a server and retrieve it when needed?

I am making a multiplayer game. So I want users to connect with each other.
But Gdevelop’s P2P System uses long codes to connect with server. So to avoid this I need to store the code of a player in an online server and when another player searches for opponents, he should be able get the code and the game should connect automatically.