1 Reply Latest reply on May 30, 2016 5:21 PM by Kiran Pawar

    Why href from links into JSON answer does begin with "href": "http://null/..." ?

    HParvillers

      Hello

      When I request http://myhost:8080/ords/ords_test/rest_emp/7499    the links area of the answer gives me null and not myhost:8080 in all the links !


      What is wrong in my settings ?


      Thanks.


      Sample answer:


      {

      "empno":7499,"ename":"ALLEN","job":"SALESMAN","mgr":7698,"hiredate":"1981-02-19T23:00:00Z","sal":1600,"comm":300,"deptno":30,

      "links":[

      {"rel":"self","href":"http://null/ords/ords_test/rest_emp/7499"},

      {"rel":"edit","href":"http://null/ords/ords_test/rest_emp/7499"},

      {"rel":"describedby","href":"http://null/ords/ords_test/metadata-catalog/rest_emp/item"},

      {"rel":"collection","href":"http://null/ords/ords_test/rest_emp/"}

      ]

      }