Open bjornba opened 8 years ago
Hi, thanks for your question. I think that your solution is reasonable (the custom handler.) I would be hesitant to include the link in the default response to the POST request for a couple of reasons:
next()
to handle the actual POST handling.Does this make sense to you?
Hello.
I'm using this package to store images uploaded with the Froala editor. When Froala sends a post request it expects to get a link to the uploaded image in response.
I managed to get this to work for me by creating a custom handler for post requests to my collection but what i'm wondering is whether it is possible to just change the response sent from the default post handler in the package.
My handler looks like: