API Fundamentals Lab
API Returned Data
You have made an API call, the server understood your request and now some data is returned!
This data is typically returned in either the JSON (JavaScript Object Notation) or XML (Extensible Markup Language) format. Apstra, like many modern REST APIs, uses the JSON format to return data. JSON is a widely used data interchange format that is easy to read and write and can be easily parsed by computers. You can use online resources such as the Mozilla Developer Network or a JSON formatter tool to help understand and interpret JSON data returned from an API.
Example API Request/Response
This section is just to give an idea of what a simple API request and response look like. If you would like to try this out yourself, REQBIN have a useful tool.