Skip to content

Using POST to read data #3

@bantolov

Description

@bantolov

Using URL query string for filter parameters may lead to problems with URL length limit.

The web API should contain POST method on (module)/(entity)/Read. I think it would be cleaner if the request body (filter and paging parameters) does not use the current query string format. Instead, the client should simply serialize ReadCommandInfo structure.

Prerequisite for simply using ReadCommandInfo as the method's argument in WCF is implementing JSON.NET (issue #2), because of object member deserialization in FilterCriteria class.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions