|
Note
To perform this GET request, we don't need to change any of the Header or the Body, or other parameters.
4)Click on the green Go! button to send your first request to the server.
What just happened?
You just created your first GET request to retrieve the order document with the ID Orders/A655302 from the Orders database directly by using the RavenDB HTTP API.
Let's have a look at the server response and analyze it. The first thing that we need to check when we receive an HTTP response from the server is the status code. In case of a GET request, receiving an HTTP/1.1 200 OK code indicates that the request has succeeded. Otherwise there is an error and the server has not received, understood, or has not accepted the request.
|
|