Skip to content

Commit

Permalink
login #7
Browse files Browse the repository at this point in the history
  • Loading branch information
Nailan-Nobre committed Jan 15, 2025
1 parent 9e7138c commit a4fafce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ async function fazerLogin() {

try {
// Envia a requisição POST para a rota /users no back-end
const resposta = await fetch('https://back-end-6der.onrender.com/login', {
method: 'POST',
const resposta = await fetch('https://back-end-6der.onrender.com/users', {
method: 'GET',
headers: {
'Content-Type': 'application/json'
},
Expand Down

0 comments on commit a4fafce

Please sign in to comment.