Question

Cannot receive post requests

Hello,

I own a roblox service and we are trying to get post requests, The issue is all our post requests would be received on a separate user from root. DIR: / > Home > Hosting > qEon-Secure. http://<Our-ip>/home/hosting/qEon-Secure/qsecure does not work please help.

Code snippet:

app.post("/qsecure", function(req, res) {
    var size = Object.keys(req.body).length;

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @Reals,

It seems like you’ve provided *:80 config file. Is it possible you are doing those requests on 443 and you don’t have it configured?

Regards, KFSys

This comment has been deleted

Hi @Reals,

Upon further reading on roblox and how it should work, it seems the best way to handle this is using a proxy server like Nginx.

As for the problem itself, it does seem like an issue with the configuration itself. Can you confirm what WebService you are running and how are you parsing these requests?

Regards, KFSys