Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Last active November 22, 2019 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save recursivecodes/47f41bc5299ecbef4b932f0d2b0e9ff9 to your computer and use it in GitHub Desktop.
Save recursivecodes/47f41bc5299ecbef4b932f0d2b0e9ff9 to your computer and use it in GitHub Desktop.
curl-fn.sh
$ curl -i -X GET https://[redacted].us-phoenix-1.functions.oci.oraclecloud.com/20181201/functions/ocid1.fnfunc.oc1.phx..../actions/invoke
HTTP/1.1 401 Unauthorized
Date: Fri, 22 Nov 2019 14:24:33 GMT
Content-Type: application/json
Content-Length: 57
Connection: keep-alive
Opc-Request-Id: /01DT9R03K21BT1A2RZJ0005QSH/01DT9R03K21BT1A2RZJ0005QSJ
Www-Authenticate: Signature headers="date (request-target) host"
{"code":"NotAuthenticated","message":"Not authenticated"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment