Forum Stats

  • 3,874,212 Users
  • 2,266,682 Discussions
  • 7,911,769 Comments

Discussions

Error 302 when trying to connect in REST

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?

Answers