post request to django server from static website

hey, I have a website with django as backend running on aws ec2 instance,
in this instance I have another nginx config that served another static website.
So I have myDomain.com (django website)
and test.myDomain.com that looks like this:
server {
listen 80;
server_name test.myDomain.com;
root /home/ubuntu/staticLandingPage;
index index.html;
location / {
try_files $uri $uri/ =404;
}
}

in the landing page (test.myDomain.com) don’t have backend but I have a form I want to save it’s data.
how can I send a post request to the django server in my domain? I think I need the csrf token but i’m not really connected to the django project.

Without the csrf token, I don’t think you’d be able to.

Leaving aside the intricacies of managing authentication through this type of connection for the moment, you might be able to do something like proxy the form from that other project, manage the post from within your application, or embed it in an iframe.