Exploring service with OpenAPI

Now, don't stop the server just yet; append /docs to the given IP address, and you'll open an OpenAPI service:

As you can see, it shows the one (and only) API endpoint we have. This page is interactiveyou can open the endpoint's tab, write your own parameters (for example, broken hydrant), execute the request, and check out the results. As if that isn't enough, there is alternative documentationto access it, just replace /docs with /redoc

Once this is done, let's move on to finalizing the first iteration.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.217.206.10