What if we wanted to add a new caf to the database? e.g. There is a website where users can contribute cafes they have discovered?

e.g. https://laptopfriendly.co/suggest

How would you test your API without building out a WTForm or HTML Form? Because that's likely where the POST request is going to come from.

Luckily Postman makes this easy.

The Key-Value pairs you enter into the Body tab in Postman is equivalent to <input> elements.

e.g.

<label>Name of Cafe</label>
<input name="name">
<label>Google Map URL Link</label>
<input name="map_url">

It's so good at making POST requests that some call it the "POSTman".

This is what you're aiming to get in Postman:


Basically, you need to create a new route as before but without WTForm. Try to simulate the real form using Postman.


SOLUTION