Skip to Content
avatar image
Former Member

long queryString as url parameter for ODATA

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");

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 08, 2017 at 03:13 PM

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

    Add comment
    10|10000 characters needed characters exceeded