Skip to content

Conversation

@kingster
Copy link
Owner

Fixes serialisation issue of bytes

/api/v1/bins/<binname>/requests now returns proper json

[
    {
        "id": "1lt7h8",
        "time": 1739281716.091676,
        "remote_addr": "127.0.0.1",
        "method": "POST",
        "headers": {
            "Host": "localhost:8000",
            "User-Agent": "curl/8.7.1",
            "Accept": "*/*",
            "Content-Length": "9",
            "Content-Type": "application/x-www-form-urlencoded"
        },
        "query_string": {},
        "raw": "fizz=buzz",
        "form_data": [
            [
                "fizz",
                "buzz"
            ]
        ],
        "body": "",
        "path": "/bs63vg25",
        "content_length": 9,
        "content_type": "application/x-www-form-urlencoded"
    }
]

Fixes serialisation issue of bytes
@kingster kingster merged commit 515183e into master Feb 12, 2025
1 check passed
@kingster kingster deleted the api-fixes-1 branch February 12, 2025 05:04
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

Successfully merging this pull request may close these issues.

2 participants