It's been awhile but IIRC you can't inspect the body on a POST request using Varnish. Either that or any real compute in Varnish gets super gnarly. I also think Fastly has a distributed K/V for state storage that you can access if you're using their new compute.
That is correct, you need to first transform the POST request into something Fastly can cache.
They don't have a K/V Store besides the edge dictionaries with max 8kb value size yet, but I've heard something is coming...