Save REST Response in OCI Object Storage

  1. auth — only value supported is OCI, for no auth omit property
  2. url- the URL to invoke
  3. headers- a dict of key/value header values ie. “Accept”:”application/json”
  4. target_bucket- name for the bucket where the results are written
  5. target_objectname — name for the object where the results will be written
  6. method- GET/POST/PUT — if omitted, GET will be used
  7. body- the JSON input payload body
echo '{"auth":"OCI","url":"", "headers":{"Accept":"application/json","Content-Type":"application/json"},"target_bucket":"yourbucket", "target_objectname":"yourobjectname"}' | fn invoke yourappname direst2os
Create a REST task
Configure the payload and HTTP method and URL
Create a task schedule
Parameterize entries in the payload
Define runtime parameter values



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
David Allan

David Allan


Architect at @Oracle developing cloud services for data. Connect on Twitter @i_m_dave