Start a new topic

How do I access query string values for GET and DELETE requests?

I am attempting to access the attributes/values sent with a GET or DELETE request in a postFetch or postDelete collection hook. Are these passed in a query string? If so, how would I access he query string in Business Logic?
1 Comment

You can access the query string from the request object. Rather than request.body, you can reference request.params for the query string parameters.

A reference for the request object can be found at
Login or Signup to post a comment