File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -128,17 +128,6 @@ To test the sample app's public endpoint with HTTPie:
128128``` bash
129129$ http GET {your REST API URL}
130130HTTP/1.1 200 OK
131- Connection: keep-alive
132- Content-Length: 91
133- Content-Type: application/json
134- Date: Tue, 12 Apr 2022 17:35:45 GMT
135- Via: 1.1 12345.cloudfront.net (CloudFront)
136- X-Amz-Cf-Id: 12345-wrkWFLNwRyJDCQktZ-LFraxlA==
137- X-Amz-Cf-Pop: 12345-C1
138- X-Amzn-Trace-Id: Root=1-12345-678912345; Sampled=0
139- X-Cache: Miss from cloudfront
140- x-amz-apigw-id: AbcDeFghIGKMnoP=
141- x-amzn-RequestId: 4dab531c-a8c4-42eb-9444-adfb4b3d1048
142131
143132{
144133 " message" : " Hello from a public endpoint! You don't need to be authenticated to see this."
@@ -151,17 +140,6 @@ To test the sample app's private endpoint with HTTPie:
151140``` bash
152141$ http GET {your REST API URL}/private Authorization:" Bearer {your test Auth0 token}"
153142HTTP/1.1 200 OK
154- Connection: keep-alive
155- Content-Length: 91
156- Content-Type: application/json
157- Date: Tue, 12 Apr 2022 17:35:45 GMT
158- Via: 1.1 12345.cloudfront.net (CloudFront)
159- X-Amz-Cf-Id: 12345-wrkWFLNwRyJDCQktZ-LFraxlA==
160- X-Amz-Cf-Pop: 12345-C1
161- X-Amzn-Trace-Id: Root=1-12345-678912345; Sampled=0
162- X-Cache: Miss from cloudfront
163- x-amz-apigw-id: AbcDeFghIGKMnoP=
164- x-amzn-RequestId: 4dab531c-a8c4-42eb-9444-adfb4b3d1048
165143
166144{
167145 " message" : " Hello from a private endpoint! You need to be authenticated to see this."
You can’t perform that action at this time.
0 commit comments