Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Echoing request body? #2

Open
nikitaeverywhere opened this issue Sep 19, 2020 · 0 comments
Open

Echoing request body? #2

nikitaeverywhere opened this issue Sep 19, 2020 · 0 comments

Comments

@nikitaeverywhere
Copy link

nikitaeverywhere commented Sep 19, 2020

Hello! Thanks for a great tool.

In a sample request the body was not echoed:

Simple webservice echo test: make a request to this endpoint to return the HTTP request parameters and headers. Results available in plain text, JSON, or XML formats. See http://www.cantoni.org/2012/01/08/simple-webservice-echo-test for more details, or https://github.com/bcantoni/echotest for source code.

Array
(
    [method] => POST
    [headers] => Array
        (
            [Connection] => close
            [X-Forwarded-Host] => scooterlabs.com
            [X-Forwarded-For] => ::1
            [Sec-Fetch-Site] => same-site
            [Sec-Fetch-Mode] => cors
            [Sec-Fetch-Dest] => empty
            [Postman-Token] => 616b3fc8-a752-4b2c-9a78-2e2ee0f16742
            [Content-Type] => application/json
            [Access-Control-Request-Method] => GET
            [Access-Control-Request-Headers] => dutoken
            [Accept-Encoding] => gzip, deflate, br
            [Accept] => */*
            [Content-Length] => 41
            [User-Agent] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36
            [Host] => scooterlabs.com
        )

    [request] => Array
        (
        )

    [client_ip] => ::1
    [time_utc] => 2020-09-19T15:20:21+0000
    [info] => Echo service from Scooterlabs (http://www.scooterlabs.com)
)

Is it intentional?

It would be nice to see at least the body size echoed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant