Get original request from Django

I would like to receive the original request (in the same format as the one sent) from Django.

Currently django is sending me a dict query object in which if I execute querydict.urlencode () I return the query, but in a different format from what is sent as the dictionary is manipulating positions.

For GET, we can use request.get_full_path ().

I have not found a mechanism for POST.

I require it since I am doing HMAC, and accurate field positioning is important for HMAC.

Hello

TO

+2


a source to share


1 answer


Sorry, this is resolved.



We can use raw_post_data for this. I forgot about it.

0


a source







All Articles