Let's Build an API Together - Part 19

Last Update: 23.01.2018. By Jens in API Series | APIs | Newsletter

Last time we started talking about security and I asked you how you would advise me as your client.


Let's Build an API Together - Part 18

Last Update: 12.01.2018. By Jens in API Series | APIs | Newsletter

It is time for thinking about the securing our API. Right now, it is open to everyone, which we don’t want. So, what choices do we have?


Let's Build an API Together - Part 17

Last Update: 11.01.2018. By Jens in API Series | APIs | Newsletter

When we return error messages, and along, we should not expose too much information. Same goes for normal data. More, especially detailed is not always better. It depends on the type of API and what the clients do with it and who the clients are.


Let's Build an API Together - Part 16

Last Update: 10.01.2018. By Jens in API Series | APIs | Newsletter

Last time we talked about using proper HTTP status codes and also returning errors in a JSON format back to the client.


Let's Build an API Together - Part 15

Last Update: 09.01.2018. By Jens in API Series | APIs | Newsletter

Let’s start talking about error handling in our API.


Let's Build an API Together - Part 14

Last Update: 08.01.2018. By Jens in API Series | APIs | Newsletter

The black box testing with a RAML tool failed last time, so we are left with unit and our own integration tests. Which brings me to the point what should we use? Should our tests focus more on pure unit testing or more integration tests, testing different parts at the same time?


Let's Build an API together - Part 13

Last Update: 05.01.2018. By Jens in API Series | APIs | Newsletter

This episode is another one of “it didn’t work out as planned.” I originally wanted to use Abao as a tool for testing my API implementation against the RAML description. Unfortunately, Abao only works with RAMl 0.8 and not with RAML 1.0 which I was using. The request ticket for RAML 1.0 support was opened in 2015 and is still not done.


Let's Build an API together - Part 12

Last Update: 04.01.2018. By Jens in API Series | APIs | Newsletter

I implemented a basic version of the TaskService today. You can find the full version in the GitHub repo as I’ll only discuss certain findings.


Let's Build an API together - Part 11

Last Update: 03.01.2018. By Jens in API Series | APIs | Newsletter

Now that we have settled with a DB, it is time to define our model.


Let's Build an API together - Part 10

Last Update: 02.01.2018. By Jens in API Series | APIs | Newsletter

Today, we are going to decide which data storage we will use. A few years ago, it was pretty clear to go with an RDBMS, but nowadays we have a few other options we can consider. If we have a choice at all. In the enterprise world, we are often restricted by some company policies or standards.