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.25
List Price:  €86.08
You save:  €25.82
£52.24
List Price:  £74.63
You save:  £22.39
CA$96.04
List Price:  CA$137.21
You save:  CA$41.16
A$107.30
List Price:  A$153.29
You save:  A$45.99
S$89.92
List Price:  S$128.46
You save:  S$38.54
HK$549.41
List Price:  HK$784.91
You save:  HK$235.49
CHF 56.11
List Price:  CHF 80.16
You save:  CHF 24.05
NOK kr719.61
List Price:  NOK kr1,028.06
You save:  NOK kr308.44
DKK kr449.65
List Price:  DKK kr642.38
You save:  DKK kr192.73
NZ$117.78
List Price:  NZ$168.27
You save:  NZ$50.48
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.19
৳8,509.68
List Price:  ৳12,157.21
You save:  ৳3,647.52
₹6,014.99
List Price:  ₹8,593.22
You save:  ₹2,578.22
RM297.10
List Price:  RM424.45
You save:  RM127.35
₦107,014.71
List Price:  ₦152,884.71
You save:  ₦45,870
₨19,928.76
List Price:  ₨28,470.87
You save:  ₨8,542.11
฿2,276.98
List Price:  ฿3,252.97
You save:  ฿975.99
₺2,817.48
List Price:  ₺4,025.14
You save:  ₺1,207.66
B$389.05
List Price:  B$555.81
You save:  B$166.76
R1,254.36
List Price:  R1,792.03
You save:  R537.66
Лв117.80
List Price:  Лв168.29
You save:  Лв50.49
₩97,188.40
List Price:  ₩138,846.53
You save:  ₩41,658.12
₪234.89
List Price:  ₪335.57
You save:  ₪100.68
₱3,996.42
List Price:  ₱5,709.42
You save:  ₱1,713
¥10,408.97
List Price:  ¥14,870.59
You save:  ¥4,461.62
MX$1,317.21
List Price:  MX$1,881.81
You save:  MX$564.60
QR256.82
List Price:  QR366.91
You save:  QR110.08
P947.30
List Price:  P1,353.35
You save:  P406.04
KSh9,042.70
List Price:  KSh12,918.70
You save:  KSh3,876
E£3,459.66
List Price:  E£4,942.58
You save:  E£1,482.92
ብር9,557.13
List Price:  ብር13,653.63
You save:  ብር4,096.50
Kz63,827.73
List Price:  Kz91,186.38
You save:  Kz27,358.65
CLP$67,679.63
List Price:  CLP$96,689.33
You save:  CLP$29,009.70
CN¥502.46
List Price:  CN¥717.83
You save:  CN¥215.37
RD$4,223.02
List Price:  RD$6,033.14
You save:  RD$1,810.12
DA9,111.66
List Price:  DA13,017.22
You save:  DA3,905.55
FJ$157.89
List Price:  FJ$225.56
You save:  FJ$67.67
Q537.52
List Price:  Q767.91
You save:  Q230.39
GY$14,647.24
List Price:  GY$20,925.53
You save:  GY$6,278.28
ISK kr8,581.47
List Price:  ISK kr12,259.77
You save:  ISK kr3,678.30
DH635.08
List Price:  DH907.30
You save:  DH272.21
L1,188.49
List Price:  L1,697.92
You save:  L509.42
ден3,711.78
List Price:  ден5,302.77
You save:  ден1,590.99
MOP$566.31
List Price:  MOP$809.05
You save:  MOP$242.73
N$1,253.85
List Price:  N$1,791.29
You save:  N$537.44
C$2,575.41
List Price:  C$3,679.32
You save:  C$1,103.90
रु9,614.09
List Price:  रु13,735.01
You save:  रु4,120.91
S/251.20
List Price:  S/358.87
You save:  S/107.67
K289.54
List Price:  K413.64
You save:  K124.10
SAR262.50
List Price:  SAR375.02
You save:  SAR112.51
ZK1,607.72
List Price:  ZK2,296.85
You save:  ZK689.12
L305.63
List Price:  L436.63
You save:  L131
Kč1,485.04
List Price:  Kč2,121.57
You save:  Kč636.53
Ft24,109.40
List Price:  Ft34,443.48
You save:  Ft10,334.07
SEK kr681.88
List Price:  SEK kr974.16
You save:  SEK kr292.27
ARS$88,189.29
List Price:  ARS$125,990.10
You save:  ARS$37,800.81
Bs486.82
List Price:  Bs695.49
You save:  Bs208.66
COP$281,806.94
List Price:  COP$402,598.60
You save:  COP$120,791.66
₡35,325.16
List Price:  ₡50,466.68
You save:  ₡15,141.51
L1,841.81
List Price:  L2,631.27
You save:  L789.46
₲542,314.22
List Price:  ₲774,767.80
You save:  ₲232,453.58
$U2,831.16
List Price:  $U4,044.70
You save:  $U1,213.53
zł256.54
List Price:  zł366.50
You save:  zł109.96
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.