Dear Tyk community,
I am facing an issue about getting the original request payload from rawrequest that we are storing in our database. It is same as that of devtool preview instead of devtool request payload. I am inquiring about is there any way so that we can get the original request payload of api which also should get stored in db. And can be used in my further process as well if required. Guide me to get the original request payload of the api.
Thank you for your patience and welcome to the community ![]()
You can set raw_request_decoded / raw_response_decoded on the relevant pump to have records decoded from Base64 before being written to the “database”. However, please note that this option is not available for Mongo or SQL pumps. See reference.
Please let us know if this does not address your query.