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

Null GET Response #162

Open
svott03 opened this issue Dec 28, 2022 · 0 comments
Open

Null GET Response #162

svott03 opened this issue Dec 28, 2022 · 0 comments

Comments

@svott03
Copy link

svott03 commented Dec 28, 2022

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%

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