Closed rahlvers closed 1 year ago
Example:
# Check if SessionId == "Members", and reset SessionId for remainder of the post request:
if (SessionId == 'Members') or (SessionId == 'members'):
SessionId = ''.join(random.choices(string.ascii_uppercase + string.digits, k=5))
Currently a post to /Members creates an object with an Id of members.
Fix is to add code in post (self, xxxId) that resets the xxxId to a generated Id (the same behavior when Id isn't submitted) when the Id is detected as "Members".