We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
right now in some files I am directly calling API with fetch functions (use search feature in vs code for finding all those calls)
for eg. in SignupForm.jsx i have written a method
const response = await fetch( `${import.meta.env.VITE_BASE_URL_BACKEND}/api/users/register/otp/verify_otp`, { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ email, otp: otpentered }), } );
which is not good practice to call API requests,
Convert those all fetch requests to proper method using Axios instead of fetch methods and place them inside BackendCalls folder.
for Reference: see files inside backendCalls/auth folder
If yu have doubt please ask and then only work.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Description
right now in some files I am directly calling API with fetch functions (use search feature in vs code for finding all those calls)
for eg. in SignupForm.jsx i have written a method
which is not good practice to call API requests,
Expected Behavior
Convert those all fetch requests to proper method using Axios instead of fetch methods and place them inside BackendCalls folder.
for Reference: see files inside backendCalls/auth folder
Additional Information
If yu have doubt please ask and then only work.
The text was updated successfully, but these errors were encountered: