Insomnia: [Feature Request] Include body in Request tag

Created on 4 Dec 2017  路  7Comments  路  Source: Kong/insomnia

It would be nice to be able to use the body content of a request as a variable, the same way we can do it with the response body.

{% response 'raw', '', '' %} => {% request 'raw', '', '' %}

Context: I need add a signature header to authenticate my API requests to OVH cloud services. The signature is the sha1 sum of the concatenation of multiple variables, including request body.

accepted stale

Most helpful comment

Correct, this still needs doing.

All 7 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Does this feature is still being looked at ?

Correct, this still needs doing.

@gschier I'm looking for this as well 馃憤
I need to have md5 hash of full body that can be used in hmac auth header (HmacSHA512 from concatenated variables including md5 of body)

@gschier any updates? 馃槈

@Misiu No updates yet. I think a couple people have made plugins for similar things using the getBodyText() method from a plugin https://github.com/getinsomnia/insomnia/blob/develop/packages/insomnia-app/app/plugins/context/request.js#L18

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings