Skip to content

solution for Params echo server#414

Open
VitaliiShc wants to merge 1 commit intomate-academy:masterfrom
VitaliiShc:dev
Open

solution for Params echo server#414
VitaliiShc wants to merge 1 commit intomate-academy:masterfrom
VitaliiShc:dev

Conversation

@VitaliiShc
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Great job! 🎉 Your code meets all the core requirements and handles edge cases as expected. The only minor issue is that the 'path' property in testRequest.js is commented out, but this doesn't affect the main server functionality. Keep up the good work, and consider uncommenting or setting the 'path' in your test utility for more effective testing in the future!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Comment on lines +5 to +12
const options = {
hostname: 'localhost',
port: 5701,
// path: '//123?sex=male&age=25&age=40',
// path: '//123/one/two/three?sex=male&age=25&age=40&x=&y=&=0',
// path: '/test',
// path: '?param1=&param2=',
};
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue: The 'options' object does not have a 'path' property set, as all possible 'path' lines are commented out. This will result in the request being sent to the root path ('/'), which may not be what you intend for testing various cases. Please uncomment or set the 'path' property to test specific routes as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants