Skip to Content
0
May 28, 2023 at 10:14 AM

OData makes POST instead of GET - Fiori List Report

201 Views

Hello,

I have created a simple OData V2 services (.xsodata) and integrated it with a Fiori application.

I have binded one of the entity/collections of the OData to the list report page and trying to check if my app is able to consume the OData and display the results.

However, I am getting the following error in my console after running the application:

Request failed with status code 403: POST my-dev-odata-service.xsodata/$batch - [{"code":"","message":"Communication error","persistent":true,"targets":[""],"type":"Error"}] sap.ui.model.odata.ODataMessageParser

It looks like a POST request is made instead of GET request.

Any suggestions are highly appreciated. Thanks.