Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro no Axios #3

Open
Wellyton-Costa opened this issue Oct 8, 2023 · 0 comments
Open

Erro no Axios #3

Wellyton-Costa opened this issue Oct 8, 2023 · 0 comments

Comments

@Wellyton-Costa
Copy link

Wellyton-Costa commented Oct 8, 2023

Clonei o projeto, criei o banco, atualizei as dependencias e não funcionou, aparece um erro no console relacionado ao Axios o que falta??

Os erros são:

Failed to load resource: the server responded with a status of 404 (Not Found) in /api/usuarios/:1

Uncaught (in promise) code
:
"ERR_BAD_REQUEST"
config
:
{transitional: {…}, adapter: Array(2), transformRequest: Array(1), transformResponse: Array(1), timeout: 0, …}
message
:
"Request failed with status code 404"
name
:
"AxiosError"
request
:
XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}
response
:
{data: '\r\n\r\n', status: 404, statusText: 'Not Found', headers: i, config: {…}, …}
stack
:
"AxiosError: Request failed with status code 404\n at https://unpkg.com/axios/dist/axios.min.js:1:21936\n at XMLHttpRequest.p (https://unpkg.com/axios/dist/axios.min.js:1:22081)"
[[Prototype]]
:
Error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant