I am creating a middleware at my server end to modify the API calls in the following manner
http://example.com/xyz?jdvnjvjnfjAA536sddjjfjfjdjbdfjdh656dnjd5ndjvb
should be converted by the middleware to:
http://example.com/xyz?user=Tango&testID=123
where the earlier URL contains the encrypted string of the user=Tango&testID=123
.
Hence simply put, the middleware decrypts the value and replaces it with the real string because i do not want to do decryption for over 50 API call view functions.
Is there any function available to modify the content occuring after "?" in django ?