Testing Add Todo Endpoint¶
Since our endpoint for adding todos uses POST method we cannot test it by just accessing the link.
You will need to use some tool for REST APIs testing like Postman or some other. For this project we will Postman (https://www.postman.com/). You will need to download and install it from their website.
After you download and sign in to Postman successfully, you should create a new "Workspace".
Now we need to create and setup "Request" in order to be able to test it. We can do it by clicking "+" button as on the image below.
Read a lot more content with a free account.
Get access to our content and help us create even more great content by supporting us! ππ―
Login here