Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Error 302 when trying to connect in REST

3690442Jul 23 2018

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?

Comments