zero-doc icon indicating copy to clipboard operation
zero-doc copied to clipboard

Null GET Response

Open svott03 opened this issue 2 years ago • 0 comments

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%

svott03 avatar Dec 28 '22 00:12 svott03