Skip to Content
0

long queryString as url parameter for ODATA

Mar 08, 2017 at 03:00 PM

198

avatar image

Hi Guys,

I am very new to OData and SAPUI5. I looking for a help to how to pass very long string or as url parameter when making a OData get request. My query queryString or parameter will be a csv file data in specific format which I need to pass when I making a OData call. Is it good practice to pass as long querystring as url parameters when making a OData call or should it be a post request? Could it be as simple as where queryString = "data in specific format ..........."

var oModel =new sap.ui.model.odata.ODataModel("http://myserver/MyService.svc/?queryString");

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jun Wu Mar 08, 2017 at 03:13 PM
0

if it is too long, it will be problem, browser has limit for the url length.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

I guess then it should be done as post?

0