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
€62.21
List Price:  €88.87
You save:  €26.66
£52.60
List Price:  £75.15
You save:  £22.54
CA$97.58
List Price:  CA$139.41
You save:  CA$41.82
A$109.20
List Price:  A$156.01
You save:  A$46.80
S$90.87
List Price:  S$129.82
You save:  S$38.95
HK$544.43
List Price:  HK$777.79
You save:  HK$233.36
CHF 58.21
List Price:  CHF 83.16
You save:  CHF 24.95
NOK kr725.84
List Price:  NOK kr1,036.96
You save:  NOK kr311.12
DKK kr464.18
List Price:  DKK kr663.14
You save:  DKK kr198.96
NZ$118.40
List Price:  NZ$169.15
You save:  NZ$50.75
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.18
৳8,531.88
List Price:  ৳12,188.92
You save:  ৳3,657.04
₹5,977.84
List Price:  ₹8,540.13
You save:  ₹2,562.29
RM301.06
List Price:  RM430.10
You save:  RM129.04
₦112,481.62
List Price:  ₦160,694.92
You save:  ₦48,213.30
₨19,730.13
List Price:  ₨28,187.10
You save:  ₨8,456.97
฿2,307.57
List Price:  ฿3,296.66
You save:  ฿989.09
₺2,713.19
List Price:  ₺3,876.15
You save:  ₺1,162.96
B$395.73
List Price:  B$565.35
You save:  B$169.62
R1,273.80
List Price:  R1,819.79
You save:  R545.99
Лв121.55
List Price:  Лв173.65
You save:  Лв52.10
₩97,698.18
List Price:  ₩139,574.81
You save:  ₩41,876.63
₪247.92
List Price:  ₪354.19
You save:  ₪106.26
₱3,875.69
List Price:  ₱5,536.94
You save:  ₱1,661.24
¥10,174.83
List Price:  ¥14,536.09
You save:  ¥4,361.26
MX$1,360.84
List Price:  MX$1,944.15
You save:  MX$583.30
QR254.83
List Price:  QR364.06
You save:  QR109.23
P953.17
List Price:  P1,361.73
You save:  P408.56
KSh9,053.20
List Price:  KSh12,933.70
You save:  KSh3,880.50
E£3,542.92
List Price:  E£5,061.53
You save:  E£1,518.61
ብር9,421.13
List Price:  ብር13,459.34
You save:  ብር4,038.20
Kz63,830.88
List Price:  Kz91,190.88
You save:  Kz27,360
CLP$65,348.96
List Price:  CLP$93,359.66
You save:  CLP$28,010.70
CN¥505.70
List Price:  CN¥722.46
You save:  CN¥216.76
RD$4,131.65
List Price:  RD$5,902.61
You save:  RD$1,770.96
DA9,314.35
List Price:  DA13,306.79
You save:  DA3,992.43
FJ$159
List Price:  FJ$227.15
You save:  FJ$68.15
Q539.19
List Price:  Q770.30
You save:  Q231.11
GY$14,646.40
List Price:  GY$20,924.33
You save:  GY$6,277.92
ISK kr9,141.39
List Price:  ISK kr13,059.69
You save:  ISK kr3,918.30
DH648.26
List Price:  DH926.13
You save:  DH277.86
L1,196.51
List Price:  L1,709.38
You save:  L512.86
ден3,833.49
List Price:  ден5,476.65
You save:  ден1,643.16
MOP$560.81
List Price:  MOP$801.19
You save:  MOP$240.38
N$1,306.98
List Price:  N$1,867.19
You save:  N$560.21
C$2,583.28
List Price:  C$3,690.56
You save:  C$1,107.28
रु9,492.56
List Price:  रु13,561.38
You save:  रु4,068.82
S/255.60
List Price:  S/365.16
You save:  S/109.56
K284.03
List Price:  K405.78
You save:  K121.74
SAR262.53
List Price:  SAR375.06
You save:  SAR112.52
ZK1,947.17
List Price:  ZK2,781.79
You save:  ZK834.62
L318.48
List Price:  L454.99
You save:  L136.51
Kč1,552.28
List Price:  Kč2,217.63
You save:  Kč665.35
Ft25,143.90
List Price:  Ft35,921.40
You save:  Ft10,777.50
SEK kr679.72
List Price:  SEK kr971.07
You save:  SEK kr291.35
ARS$78,905.70
List Price:  ARS$112,727.26
You save:  ARS$33,821.56
Bs483.44
List Price:  Bs690.65
You save:  Bs207.21
COP$297,469.93
List Price:  COP$424,975.26
You save:  COP$127,505.32
₡35,459.16
List Price:  ₡50,658.12
You save:  ₡15,198.95
L1,821.77
List Price:  L2,602.65
You save:  L780.87
₲562,262.91
List Price:  ₲803,267.16
You save:  ₲241,004.24
$U2,923.98
List Price:  $U4,177.30
You save:  $U1,253.31
zł263.29
List Price:  zł376.14
You save:  zł112.85
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.