Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

How to customise fetch response? #189

@sarathbabuSwamynathan

Description

@sarathbabuSwamynathan

Hi,

I am using rest api.

In entity, fetch(), if I am getting empty data then it will return following result default:

{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
"title": "Not Found",
"status": 404,
"detail": "Entity not found."
}

But in my case it will be better if return empty array like [].

How can I customise fetch response as per my need?

Thanks in advance!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions