'Error 400: redirect_uri_mismatch How to format my URI?

I am trying to use Google Drive's API on my Web Application. I am trying to use localhost as my URIs. These are my URI and redirect URIs:

enter image description here

I am still, however, getting the following message, what can I do to fix it?

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source