I trying to connect in REST WS using the command in curl:
curl -u MyUserName:MyPassword https://otmgtm-xxxxxx.oraclecloud.com/GC3/int-api/sdo/Location?id=XXXXX
but, as return I receive an 302 http error. If I try to connect using -L parameter at curl (curl -u MyUserName:MyPassword -L https://otmgtm-xxxxxx.oraclecloud.com/GC3/int-api/sdo/Location?id=XXXXX)
Oracle return a loging page.
How to configure OTM or Curl command to connect at REST?