what is cors
CORS => (Cross-Origin Resource Sharing)
sharing resources between different sources
what is cors
CORS => (Cross-Origin Resource Sharing)
sharing resources between different sources
list of cors headers for https
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**").allowedOrigins("*")
.allowedMethods("GET", "PUT", "POST", "PATCH", "DELETE", "OPTIONS")
.allowedHeaders("Content-Type", "api_key", "Authorization", "X-Requested-With");
}
headers cors
MIDDLEWARE = [
...
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
...
]
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us