cancel
Showing results for 
Search instead for 
Did you mean: 

OData makes POST instead of GET - Fiori List Report

aniketnpatil
Advisor
Advisor
0 Kudos

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.

View Entire Topic
aniketnpatil
Advisor
Advisor
0 Kudos

jun.wu5 Thank you for responding.

All I trying to do is to make a simple GET request and bind the response to view. But somehow, it makes a POST $batch request. Any suggestion on that?

alshwely
Discoverer
0 Kudos

Hi aniket.narendra.patil, were you able to sort this issue out? I've encountered the same issue.

Thank you.