creating object repository 3

4 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€43.84
List Price:  €61.38
You save:  €17.54
£37.58
List Price:  £52.61
You save:  £15.03
CA$69.06
List Price:  CA$96.70
You save:  CA$27.63
A$78
List Price:  A$109.20
You save:  A$31.20
S$65.56
List Price:  S$91.79
You save:  S$26.23
HK$387.87
List Price:  HK$543.05
You save:  HK$155.18
CHF 41.18
List Price:  CHF 57.65
You save:  CHF 16.47
NOK kr520.32
List Price:  NOK kr728.49
You save:  NOK kr208.17
DKK kr327.31
List Price:  DKK kr458.26
You save:  DKK kr130.95
NZ$83.49
List Price:  NZ$116.89
You save:  NZ$33.40
د.إ183.61
List Price:  د.إ257.07
You save:  د.إ73.46
৳6,121.73
List Price:  ৳8,570.91
You save:  ৳2,449.18
₹4,270.36
List Price:  ₹5,978.85
You save:  ₹1,708.48
RM219.58
List Price:  RM307.43
You save:  RM87.85
₦80,650.86
List Price:  ₦112,917.66
You save:  ₦32,266.80
₨14,035.54
List Price:  ₨19,650.89
You save:  ₨5,615.34
฿1,669.36
List Price:  ฿2,337.24
You save:  ฿667.88
₺1,914.16
List Price:  ₺2,679.99
You save:  ₺765.82
B$286.01
List Price:  B$400.44
You save:  B$114.42
R928.68
List Price:  R1,300.23
You save:  R371.54
Лв85.74
List Price:  Лв120.04
You save:  Лв34.30
₩71,095.32
List Price:  ₩99,539.14
You save:  ₩28,443.81
₪183.27
List Price:  ₪256.60
You save:  ₪73.32
₱2,827.30
List Price:  ₱3,958.45
You save:  ₱1,131.14
¥7,098.45
List Price:  ¥9,938.40
You save:  ¥2,839.94
MX$976.75
List Price:  MX$1,367.53
You save:  MX$390.77
QR182.01
List Price:  QR254.84
You save:  QR72.82
P688.29
List Price:  P963.66
You save:  P275.37
KSh6,471.20
List Price:  KSh9,060.20
You save:  KSh2,589
E£2,546.81
List Price:  E£3,565.73
You save:  E£1,018.92
ብር6,722.67
List Price:  ብር9,412.28
You save:  ብር2,689.60
Kz45,840.83
List Price:  Kz64,180.83
You save:  Kz18,340
CLP$47,616.47
List Price:  CLP$66,666.87
You save:  CLP$19,050.40
CN¥365.54
List Price:  CN¥511.78
You save:  CN¥146.24
RD$3,009.97
List Price:  RD$4,214.20
You save:  RD$1,204.23
DA6,616.72
List Price:  DA9,263.94
You save:  DA2,647.22
FJ$112.64
List Price:  FJ$157.70
You save:  FJ$45.06
Q388.12
List Price:  Q543.41
You save:  Q155.28
GY$10,570.33
List Price:  GY$14,799.30
You save:  GY$4,228.97
ISK kr6,353.72
List Price:  ISK kr8,895.72
You save:  ISK kr2,542
DH464.41
List Price:  DH650.21
You save:  DH185.80
L859.30
List Price:  L1,203.10
You save:  L343.79
ден2,698.04
List Price:  ден3,777.47
You save:  ден1,079.43
MOP$402.54
List Price:  MOP$563.59
You save:  MOP$161.04
N$939.15
List Price:  N$1,314.89
You save:  N$375.73
C$1,854.40
List Price:  C$2,596.31
You save:  C$741.91
रु6,864.28
List Price:  रु9,610.54
You save:  रु2,746.26
S/186.73
List Price:  S/261.43
You save:  S/74.70
K208.46
List Price:  K291.87
You save:  K83.40
SAR187.51
List Price:  SAR262.52
You save:  SAR75.01
ZK1,434.65
List Price:  ZK2,008.62
You save:  ZK573.97
L218.23
List Price:  L305.54
You save:  L87.31
Kč1,096.76
List Price:  Kč1,535.56
You save:  Kč438.79
Ft17,916.33
List Price:  Ft25,084.30
You save:  Ft7,167.96
SEK kr479.22
List Price:  SEK kr670.95
You save:  SEK kr191.72
ARS$55,153.96
List Price:  ARS$77,219.96
You save:  ARS$22,066
Bs348.17
List Price:  Bs487.47
You save:  Bs139.29
COP$215,682.40
List Price:  COP$301,972.63
You save:  COP$86,290.22
₡25,332.40
List Price:  ₡35,467.39
You save:  ₡10,134.98
L1,290.24
List Price:  L1,806.44
You save:  L516.20
₲403,325.72
List Price:  ₲564,688.28
You save:  ₲161,362.56
$U2,107.36
List Price:  $U2,950.47
You save:  $U843.11
zł188.23
List Price:  zł263.53
You save:  zł75.30
Already have an account? Log In

Transcript

Hello everyone, in this lecture we are going to see how to pass HTTP header in APA request. The sample APA we are going to use is from am g you are APA with DISA get APA. Here, we are going to pass this API request and we will be parsing username and in headers, we will be parsing this authorization with client ID. Let us do that. Let me copy this APA request and go to get lunch to do. Let me create a new web service request and am giving neighbors amdr with HTTP header.

This is a sample up request which has HTTP header and our object repository is created. I'm selecting the method get and I am parsing the URL and username. I am providing my username from amg.com. You can register with IMG or and get your username and client ID. My username is would mean strydom learning is my username. This is what I am going to use and copying it and pasting it here.

Instead near the account instead of that username and go to HTTP header in HTTP header. We need to provide header name as authorization and the client ID with that client ID they gave. Let us do it. I'm going to hit HTTP header and adding it and am providing neighbors racism and choosing authorization and I am providing value us client ID client ID and here I am providing value as client ID. And in this client add curly brace we need to provide their actual client ID provided from IMG or this is the owner of that client ad they provided. They will provide if you register using IMG or.com and I am taking that and providing it here and I am saving it I'm sorry And I'm saving it.

Now, let us run this GET request, which has HTTP header. And this is the response we will get if we run this. And it status is 200. And this is the response data. just ran this button and you will see the response. In the right side.

Yeah. This is how we need to pass HTTP headers in our object repository.

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.