Postman call get method retured array iris/endpoint instead array data object

Viewed 19

I have problem. I call get method endopint e.g. /api/something with headers [Accept: application/json, Content-Type: application/json , I tried other ones as well ],

Endpoint should return array with objects and this object contains field 'items' which should return array object with data e.g. 'id', 'name' etc.[ [ id: 1234, name: 'qwert' ], [ id: 5678, name: 'qazw' ] ] but returned iris/endpoints string e.g. [ api/something-items/1234, api/something-items/5678 ].

I compared my configurations endpoint/postman with colleague which is working properly and I set the same, but didn't help.

0 Answers
Related