Api's for another projects.

19 views
Skip to first unread message

Sheldon Le Cooper

unread,
Mar 5, 2021, 9:17:15 AM3/5/21
to Django users
  Hi Experts,

I have requirement of Django Api's.

Brief about the requirement:

I have 2 projects (A and B), I did develop the API'S for Project A. The Project A has been deployed in CentOs with NGNIX server.  Now I wanna use the Project A Api's in Project B.

Kindly suggest me how to achieve this requirement.
Kindly suggest me any blogs or videos.

Note: Just  I wanna give Project A API"S Urls to project B.

Regards
Sheldon

Ryan Nowakowski

unread,
Mar 7, 2021, 2:07:21 PM3/7/21
to Django users
This might be another case of "Django is just Python". You probably
want to use a Python package like requests[1] to access the API from
project A in the views.py from project B.

[1] https://requests.readthedocs.io/en/master/
Reply all
Reply to author
Forward
0 new messages