Answers for "https header no cors"

0

no cors

- this repo shows how to handle the issue in 2 steps
https://github.com/Juan321654/no-cors-anywhere-package
Posted by: Guest on June-14-2021
0

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");
			}
Posted by: Guest on June-11-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language