list of cors headers for https

Solutions on MaxInterview for list of cors headers for https by the best coders in the world

showing results for - "list of cors headers for https"
Sohan
09 Aug 2018
1@Override
2			public void addCorsMappings(CorsRegistry registry) {
3				registry.addMapping("/**").allowedOrigins("*")
4						.allowedMethods("GET", "PUT", "POST", "PATCH", "DELETE", "OPTIONS")
5						.allowedHeaders("Content-Type", "api_key", "Authorization", "X-Requested-With");
6			}
Juana
08 Oct 2018
1MIDDLEWARE = [
2    ...
3    'corsheaders.middleware.CorsMiddleware',
4    'django.middleware.common.CommonMiddleware',
5    ...
6]
7
similar questions
queries leading to this page
list of cors headers for https