Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Build a Simple Dynamic Site with Node.js HTTP Methods and Headers Dealing with the POST Body

"502 Bad Gateway" error when searching for profile using form

This only seams to happen when using he form. If i add the username after the url it works just fine. Any ideas? I have double checked my code and redone the course section, but i must be missing something.

Sergey Podgornyy
Sergey Podgornyy
20,660 Points

Maybe some problem in your code? Could you post it here?