Allowing Origins for Cross-Origin Resource Sharing

Vue JS and Spring Boot Microservices and Spring Cloud Course Service - (Second Main Microservice)
1 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€60.10
List Price:  €85.86
You save:  €25.76
£51.84
List Price:  £74.06
You save:  £22.22
CA$97.12
List Price:  CA$138.75
You save:  CA$41.62
A$108.73
List Price:  A$155.34
You save:  A$46.60
S$89.97
List Price:  S$128.53
You save:  S$38.56
HK$546.94
List Price:  HK$781.38
You save:  HK$234.43
CHF 56.50
List Price:  CHF 80.71
You save:  CHF 24.21
NOK kr718.15
List Price:  NOK kr1,025.98
You save:  NOK kr307.82
DKK kr448.64
List Price:  DKK kr640.95
You save:  DKK kr192.30
NZ$120.02
List Price:  NZ$171.47
You save:  NZ$51.44
د.إ257.03
List Price:  د.إ367.21
You save:  د.إ110.17
৳8,505.34
List Price:  ৳12,151
You save:  ৳3,645.66
₹6,093.99
List Price:  ₹8,706.07
You save:  ₹2,612.08
RM295.77
List Price:  RM422.55
You save:  RM126.78
₦107,459.14
List Price:  ₦153,519.64
You save:  ₦46,060.50
₨19,811.30
List Price:  ₨28,303.07
You save:  ₨8,491.77
฿2,278.13
List Price:  ฿3,254.62
You save:  ฿976.48
₺2,864.19
List Price:  ₺4,091.88
You save:  ₺1,227.68
B$385.77
List Price:  B$551.13
You save:  B$165.35
R1,239.06
List Price:  R1,770.17
You save:  R531.10
Лв117.62
List Price:  Лв168.04
You save:  Лв50.41
₩97,877.16
List Price:  ₩139,830.51
You save:  ₩41,953.34
₪238.04
List Price:  ₪340.07
You save:  ₪102.03
₱3,985.68
List Price:  ₱5,694.08
You save:  ₱1,708.39
¥10,322.12
List Price:  ¥14,746.52
You save:  ¥4,424.40
MX$1,316.22
List Price:  MX$1,880.39
You save:  MX$564.17
QR254.74
List Price:  QR363.92
You save:  QR109.18
P976.59
List Price:  P1,395.18
You save:  P418.59
KSh9,042.70
List Price:  KSh12,918.70
You save:  KSh3,876
E£3,405.71
List Price:  E£4,865.51
You save:  E£1,459.80
ብር9,873.59
List Price:  ብር14,105.74
You save:  ብር4,232.14
Kz63,827.73
List Price:  Kz91,186.38
You save:  Kz27,358.65
CLP$67,438.16
List Price:  CLP$96,344.36
You save:  CLP$28,906.20
CN¥502.33
List Price:  CN¥717.64
You save:  CN¥215.31
RD$4,319.42
List Price:  RD$6,170.87
You save:  RD$1,851.44
DA9,092.84
List Price:  DA12,990.32
You save:  DA3,897.48
FJ$158.96
List Price:  FJ$227.10
You save:  FJ$68.13
Q536.53
List Price:  Q766.51
You save:  Q229.97
GY$14,645.56
List Price:  GY$20,923.13
You save:  GY$6,277.56
ISK kr8,619.26
List Price:  ISK kr12,313.76
You save:  ISK kr3,694.50
DH631
List Price:  DH901.47
You save:  DH270.46
L1,176.90
List Price:  L1,681.36
You save:  L504.45
ден3,697.69
List Price:  ден5,282.64
You save:  ден1,584.95
MOP$562.57
List Price:  MOP$803.71
You save:  MOP$241.13
N$1,231.71
List Price:  N$1,759.66
You save:  N$527.95
C$2,575.73
List Price:  C$3,679.77
You save:  C$1,104.04
रु9,751.26
List Price:  रु13,930.96
You save:  रु4,179.70
S/247.72
List Price:  S/353.90
You save:  S/106.18
K293.72
List Price:  K419.62
You save:  K125.90
SAR262.65
List Price:  SAR375.24
You save:  SAR112.58
ZK1,629.30
List Price:  ZK2,327.68
You save:  ZK698.37
L304.26
List Price:  L434.67
You save:  L130.41
Kč1,472.14
List Price:  Kč2,103.16
You save:  Kč631.01
Ft23,736.40
List Price:  Ft33,910.60
You save:  Ft10,174.19
SEK kr671.02
List Price:  SEK kr958.65
You save:  SEK kr287.62
ARS$90,391.70
List Price:  ARS$129,136.53
You save:  ARS$38,744.83
Bs485.45
List Price:  Bs693.53
You save:  Bs208.08
COP$282,511.79
List Price:  COP$403,605.57
You save:  COP$121,093.78
₡35,375.75
List Price:  ₡50,538.95
You save:  ₡15,163.20
L1,839.26
List Price:  L2,627.62
You save:  L788.36
₲505,822.38
List Price:  ₲722,634.38
You save:  ₲216,811.99
$U2,811.27
List Price:  $U4,016.28
You save:  $U1,205
zł255.60
List Price:  zł365.16
You save:  zł109.56
Already have an account? Log In

Transcript

Hi guys, in this lesson, we should define a lowing origins for cross origin resource sharing. So do it. We need it simply put configuration class. Simply boots main class is a default configuration class so we can describe it in main class. We can describe it with that MVC configuration. Let's create a method like course configuration.

In this method, we will override at coarse mapping Smith. vivo Hello. All origins for testing. And these methods via simply being okay, that's all. Thank you

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.