Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I assign fetching items to POST request? #238

Open
nkovalenko93 opened this issue Jun 19, 2019 · 0 comments
Open

How can I assign fetching items to POST request? #238

nkovalenko93 opened this issue Jun 19, 2019 · 0 comments

Comments

@nkovalenko93
Copy link

Hi.
I have to create POST for fetching items (problem with query parameters length).
But I can't assign POST request to list.fetch epilogue action.
Can I do this somehow?

Or is it possible to run epilogue workflow from my custom route?
Something like:

app.post(`/api/getItems`, (req, res, next) => {
  req.query = req.body;
  itemsEpilogueResource.list(req, res); // or some other hack
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant