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
€59.78
List Price:  €85.41
You save:  €25.62
£51.77
List Price:  £73.96
You save:  £22.19
CA$95.88
List Price:  CA$136.97
You save:  CA$41.09
A$96.60
List Price:  A$138.01
You save:  A$41.40
S$89.06
List Price:  S$127.23
You save:  S$38.17
HK$548.10
List Price:  HK$783.03
You save:  HK$234.93
CHF 54.73
List Price:  CHF 78.19
You save:  CHF 23.46
NOK kr642.22
List Price:  NOK kr917.49
You save:  NOK kr275.27
DKK kr446.73
List Price:  DKK kr638.21
You save:  DKK kr191.48
NZ$118.02
List Price:  NZ$168.60
You save:  NZ$50.58
د.إ257.03
List Price:  د.إ367.21
You save:  د.إ110.17
৳8,604.65
List Price:  ৳12,292.88
You save:  ৳3,688.23
₹6,693.10
List Price:  ₹9,561.98
You save:  ₹2,868.88
RM275.09
List Price:  RM393.01
You save:  RM117.91
₦95,906.59
List Price:  ₦137,015.29
You save:  ₦41,108.70
₨19,501.11
List Price:  ₨27,859.93
You save:  ₨8,358.81
฿2,264.07
List Price:  ฿3,234.52
You save:  ฿970.45
₺3,178.77
List Price:  ₺4,541.29
You save:  ₺1,362.52
B$342.63
List Price:  B$489.50
You save:  B$146.86
R1,151.33
List Price:  R1,644.82
You save:  R493.49
Лв116.96
List Price:  Лв167.09
You save:  Лв50.13
₩104,201.06
List Price:  ₩148,865.04
You save:  ₩44,663.98
₪203.30
List Price:  ₪290.45
You save:  ₪87.14
₱4,299.24
List Price:  ₱6,142.03
You save:  ₱1,842.79
¥11,047.19
List Price:  ¥15,782.37
You save:  ¥4,735.18
MX$1,206.31
List Price:  MX$1,723.37
You save:  MX$517.06
QR255.18
List Price:  QR364.55
You save:  QR109.37
P944.91
List Price:  P1,349.93
You save:  P405.02
KSh9,042.70
List Price:  KSh12,918.70
You save:  KSh3,876
E£3,705.97
List Price:  E£5,294.47
You save:  E£1,588.50
ብር10,930.83
List Price:  ብር15,616.14
You save:  ብር4,685.31
Kz63,908.98
List Price:  Kz91,302.46
You save:  Kz27,393.48
CLP$62,772.56
List Price:  CLP$89,678.93
You save:  CLP$26,906.37
CN¥475.27
List Price:  CN¥678.99
You save:  CN¥203.71
RD$4,131.31
List Price:  RD$5,902.13
You save:  RD$1,770.81
DA9,275.86
List Price:  DA13,251.80
You save:  DA3,975.93
FJ$153.15
List Price:  FJ$218.80
You save:  FJ$65.64
Q534.12
List Price:  Q763.07
You save:  Q228.94
GY$14,645.45
List Price:  GY$20,922.97
You save:  GY$6,277.52
ISK kr8,585.67
List Price:  ISK kr12,265.77
You save:  ISK kr3,680.10
DH638.87
List Price:  DH912.72
You save:  DH273.84
L1,200.31
List Price:  L1,714.81
You save:  L514.49
ден3,687.14
List Price:  ден5,267.57
You save:  ден1,580.43
MOP$564.45
List Price:  MOP$806.40
You save:  MOP$241.94
N$1,157.07
List Price:  N$1,653.04
You save:  N$495.96
C$2,576.36
List Price:  C$3,680.68
You save:  C$1,104.31
रु10,705.23
List Price:  रु15,293.84
You save:  रु4,588.61
S/239.91
List Price:  S/342.74
You save:  S/102.83
K304.86
List Price:  K435.54
You save:  K130.67
SAR262.78
List Price:  SAR375.42
You save:  SAR112.64
ZK1,317.79
List Price:  ZK1,882.65
You save:  ZK564.85
L311.24
List Price:  L444.65
You save:  L133.41
Kč1,455.68
List Price:  Kč2,079.63
You save:  Kč623.95
Ft21,474.27
List Price:  Ft30,678.84
You save:  Ft9,204.57
SEK kr652.35
List Price:  SEK kr931.96
You save:  SEK kr279.61
ARS$96,937.39
List Price:  ARS$138,487.92
You save:  ARS$41,550.53
Bs483.73
List Price:  Bs691.07
You save:  Bs207.34
COP$263,386.86
List Price:  COP$376,283.07
You save:  COP$112,896.21
₡31,946.26
List Price:  ₡45,639.48
You save:  ₡13,693.21
L1,861.53
List Price:  L2,659.44
You save:  L797.91
₲427,323.73
List Price:  ₲610,488.64
You save:  ₲183,164.91
$U2,780.57
List Price:  $U3,972.41
You save:  $U1,191.84
zł254.16
List Price:  zł363.11
You save:  zł108.94
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.