Skip to content

Null GET Response #162

Open
Open
@svott03

Description

@svott03

I send a get request to my bookstore service with curl -i "http://localhost:8888/check?book=go-zero" and get a response not matching the type checkResp.

Expected Response:
HTTP/1.1 200 OK
Content-Type: application/json
Date: Thu, 03 Sep 2020 06:46:18 GMT
Content-Length: 25

{"found":false,"price":0}

Actual Response:
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Traceparent: 00-b5bbd1a7eb0effb7202c9630edb074f1-7e3325dc6a8b4b4d-00
Date: Wed, 28 Dec 2022 00:22:29 GMT
Content-Length: 4

null%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions