Getting raw request body

91 views
Skip to first unread message

BayBooz

unread,
Mar 25, 2012, 7:09:02 AM3/25/12
to RestSharp
Hi,

I'm trying to interact with a REST-style web service which requires to
add a signature calculated from the raw body of request. I've looked
through the all public methods for an appripriate place to get it with
no result.

Please let me know if it's possible. If there is no such method, where
should I better place an interceptor? In case if I make a fork of
RestSharp.

Thanks in advance!

Andrew Young

unread,
Mar 26, 2012, 12:23:16 PM3/26/12
to rest...@googlegroups.com
How is the signature added to the request?

BayBooz

unread,
Mar 27, 2012, 6:02:28 AM3/27/12
to RestSharp
It's calculated as SHA1(Url + BodyAsString) and added to the headers
then

John Sheehan

unread,
Apr 3, 2012, 1:08:00 AM4/3/12
to rest...@googlegroups.com
What does the body consist of? If it's just parameters you could recreate it.

Jesse Smith

unread,
May 16, 2013, 5:52:20 PM5/16/13
to rest...@googlegroups.com
Is there still nothing in the works for getting the raw body before posting?
Reply all
Reply to author
Forward
0 new messages