Use send_message_to_url operation.
Python:
(send_message_to_url, <string_id>, <encode_url>), #result will be returned to script_game_receive_url_response
In your url, include params with player unique id and do things on your backend.
Python:
(player_get_unique_id, <destination>, <player_id>), #can only bew used on server side
Response will be returned in script_game_receive_url_response script.
Python:
#script_game_receive_url_response
#response format should be like this:
# [a number or a string]|[another number or a string]|[yet another number or a string] ...
# here is an example response:
# 12|Player|100|another string|142|323542|34454|yet another string
# INPUT: arg1 = num_integers, arg2 = num_strings
# reg0, reg1, reg2, ... up to 128 registers contain the integer values
# s0, s1, s2, ... up to 128 strings contain the string values
I am sure you are able to implement that, but you have to think how to do that by yourself
make sure you test things on dedicated server to make sure everything works right.
If you gonna encounter any problems with it, @mention me.
These operations are tricky, not many people uses them.
Good Luck!