akveo / ngx-admin-bundle-support

Support repository for ngx-admin backend bundles with issues tracking, instructions and code samples
58 stars 32 forks source link

Django API routes returning error 404 #75

Open bmunyoki opened 4 years ago

bmunyoki commented 4 years ago

Hi, I bought the bundle and deployed it on ubuntu server. The frontend works fine. I am connecting the frontend to the Django backend. I am serving the Django api with Apache mod_wsgi. Unfortunately, all the api urls give error 404 (Not Found). What could be the issue?

image

denStrigo commented 4 years ago

Hi @bmunyoki. How do you make this request, do you send authorization token in the request ?

Have you run frontend and backend by instruction ? If so, can you create a new user from the sign-in page ? If you can create a new user or login with an existing user you can get access token

image

In any case, if you can create or login to the application your frontend and backend are working. If you would like to test api you need the access token. For testing, I used postaman and could get data in response

image

Please let me know if my answer helped you and thank you for your time