I have a registration form to my website
when I submit in web browsers (desktop) it successfully submitted
but when I try to register using my browsers in mobile it showsAccess to XMLHttpRequest at 'https://<link>/Member_Management/api/MembersDetails/' from origin '<link>?' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I already tried to multiple browsers from different devices
this is already setup in my settings:CORS_ALLOW_ALL_ORIGINS = True
# CORS configurationCORS_ALLOW_ALL_ORIGINS = TrueCORS_ALLOW_CREDENTIALS = TrueCSRF_TRUSTED_ORIGINS = [<links>]CORS_ALLOW_HEADERS = ['accept','authorization','content-type','x-csrftoken','x-requested-with',]CORS_ALLOW_METHODS = ['DELETE','GET','OPTIONS','PATCH','POST','PUT',]
my ajax call
$.ajax({ url: memberbackend_link +'/Member_Management/api/MembersDetails/', type: 'POST', data: memberData, contentType: false, processData: false, success: function(response) {
How to fix the corsheaders to my website to be able to submit using mobile browsers