Last active
November 22, 2019 15:14
-
-
Save recursivecodes/e1cfe38ac37e02bd3091a4652ff4e695 to your computer and use it in GitHub Desktop.
invoke-api-endpoint.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -i -X GET https://[redacted].apigateway.us-phoenix-1.oci.customer-oci.com/v1/hello | |
HTTP/1.1 200 OK | |
Date: Fri, 22 Nov 2019 15:04:11 GMT | |
Content-Type: application/json | |
Connection: keep-alive | |
Content-Length: 25 | |
Server: Oracle API Gateway | |
Strict-Transport-Security: max-age=31536000 | |
X-XSS-Protection: 1; mode=block | |
X-Frame-Options: sameorigin | |
X-Content-Type-Options: nosniff | |
opc-request-id: /429E9723BB6BED8DB8D237876894DDF6/3E4A5D8760D59242A98AB8A91E2B0107 | |
{"message":"Hello World"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment