tanhakabir / rest-book

REST Book is a Visual Studio Code extension that allows you to perform REST calls in a Notebook interface.
https://marketplace.visualstudio.com/items?itemName=tanhakabir.rest-book
MIT License
248 stars 24 forks source link

Trying to use Restbook #129

Open gerrysweeney opened 2 years ago

gerrysweeney commented 2 years ago

Have made a simple server and trying to use Restbook to invoke its endpoint. You can see the message I am sending in restbook, the response I am sending from the server is just a simple JSON message, and the Restbook UI just reports that the response is corrupt. I have no way in restbook to see what the actuall response is, or why its reporting this error. Looking at the source code of restbook it looks like its expecting some very specific JSON strcuture back from the server. This seems like a bug to me, as pretty much any JSON structure in the response should be acceptable

image