Requesting JSON data from an API
When working with complex data structures, JSON is a popular format used by many web APIs. However, APIs can respond in other formats, too. Therefore, it's crucial you know how to request a specific format from an API. You can achieve this by adding a header to your requests.
Which of the following requests will return data formatted as JSON?
Deze oefening maakt deel uit van de cursus
Introduction to APIs in Python
Praktische interactieve oefening
Zet theorie om in actie met een van onze interactieve oefeningen.
Begin met trainen