Reputation: 93
I have tried to hide some content from URL and still I want to send that content to server in express app.but haven't got any solutions yet.
e.g. I have an URL like, www.abc.com/viewblog/V8eNr6adLJ/post-title
now I want to remove "V8eNr6adLJ" from URL but still need to pass on server.
How can I do that ? need I to use any npm modules or any other way to achieve this?
Thanks.
Upvotes: 1
Views: 2663
Reputation: 2900
You should use method POST in express http://expressjs.com/4x/api.html#app.post.method
Upvotes: 1