On 15/03/2018 22:17, Manuele Pesenti wrote:
You might be better off getting help from folks who know
WooCommerce, as this issue does not appear to be web2py specific.
Yes for sure! Thanks a lot.
M.
Before to definitely fly to other places where to find answers to my
problem I have one little question related with web2py...
In woocommerce documentation they say this about request signature:
"X-WC-Webhook-Signature - a base64 encoded HMAC-SHA256 hash of the
payload."[1]
Till now I interpreted "payload" as the request body... so as the json
string I can read simply using `request.body.read()`.
Could it even be interpreted as the whole send content including the the
request header?
How could it be get or reconstructed from the request storage object?
Thanks a lot
Manuele
[1]
https://github.com/woocommerce/woocommerce-rest-api-docs/blob/master/source/includes/wp-api-v1/_webhooks.md
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.