Great, you got to the second page of the Datawrapper API documentation and if you followed the Getting started section, you already used HTTP.
HTTP stands for Hypertext Transfer Protocol and is the main communication channel for the web. By entering google.com into your browser, the browser and Google's servers will communicate and send data through HTTP. The Datawrapper API (and Google) use HTTPS (that S means secure, we don't want other people do read your data). HTTPS is an extension of HTTP where your data is encrypted using TLS. Now you read a bunch of abbreviations, and if you want to learn more, follow the links. The important part is that HTTP is how browsers and servers exchange messages.
As almost everything on this page, REST is an abbreviation, short for Representational State Transfer. It is a set of guidelines on how to build web services and organize interactions between them. The Datawrapper API mostly conforms to REST guidelines, but deviates where it makes sense for us.
You will mostly work on resources like
teams and take actions on them with standard HTTP verbs like
DELETE. Resources have associated URLs that you operate on. In the Getting started section, you already requested a resource with
GET /v3/me, which tells the server that you want to see your user information.
The Datawrapper API uses the following verbs:
Request the representation of a resource.
This will return a JSON representation of the beautiful scatterplot on our landing page.
Create a new resource.
This will create a new chart that you can edit with the API or through our app.
Modify a resource.
This action can modify your user information. Try changing your name.
Replace an existing resource.
This replaces the chart data with your provided data set.
Delete an existing resource.
Deletes an API token.
Updated about a year ago