![]() ![]() ![]() This is not necessarily the same as the JSON data you sent to the server, especially in the case of an update or delete. If all goes well, then the server will send the back the JSON data for the pet that was created, updated, or deleted. If there’s something wrong with your JSON data, then you’ll see an error message explaining the problem. Also try deleting some pets, and then click “ All Pets” again to confirm that the pets were removed.Įach time you save or delete a pet, you’ll see a pop-up window showing you the response from the server. Try adding a few pets, and then click the “ All Pets” button to see all the persisted data. The name and type properties are required. The big text box in the middle of the page lets you enter the raw JSON data for a pet. Others prompt you to download the file or open it in your default text editor. Some browsers open the files as plain-text in the browser window. There’s also helpful links to the raw YAML and JSON data. You can add, edit, and delete pets, as well as add pet photos. This page is just a simple GUI that lets you perform some of the operations in the Swagger Pet Store API. ![]() You should see a message telling you that the Swagger Pet Store is now running at Open that link in your web browser, and you should see the following page:
0 Comments
Leave a Reply. |