change method to PUT
This commit is contained in:
parent
e4b39e8c51
commit
d3b170424f
|
@ -48,7 +48,7 @@ const Inquilinos = () => {
|
|||
}
|
||||
|
||||
fetch('http://localhost:3000/api/createUser', {
|
||||
method: 'POST',
|
||||
method: 'PUT',
|
||||
cache: 'no-cache',
|
||||
body: JSON.stringify(data),
|
||||
headers: {
|
||||
|
|
Loading…
Reference in New Issue