Skip to content

how to get the updated response from client PUT #103

@sazyadav

Description

@sazyadav

I need to return the updated state data with PUT response :

const put = async (url: string, data: any) => {
const client = ClientAPI.getInstance();
const resource = client.go(url);
return await resource.put({ data });

};

but getting undefined.
could you please help me to get the updated respone from the PUT request

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