Skip to content

Accessing post request payload #4

@carlok

Description

@carlok

Hi, thanks for your work.
I'm not a workerman user so my apologies for such a simple question.
In your post example, $requst returns a huge object: how to retrieve the body payload? I've already looked at workerman docs but it's not clear either.
I noticed mark is #1 in benchmark at the moment so I want to benchmark it with a slightly different json rest test (I'm pretty impressed in their test it overclasses go, which can be compiled).
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions