• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

150
Views
How can I not make my express JS app cut off the query

This is my code

app.get("/get", (request, response) => {
    if (!request.query.url) {
        return response.json({
            status: "Error",
            data: "No URL provided"
        });
    };

    console.log(request.query.url)

    axios.get(request.query.url)
        .then(function (response2) {
            response.json(response2.data);
        })
        .catch(function (error) {
            console.log(error);

            response.json({
                status: "Error",
                data: error
            });
        });
});

When I tried getting this URL http://localhost/get?url=https://catalog.roblox.com/v1/search/items/details?Category=3&MaxPrice=1000&Keyword=DIE, the output only showed https://catalog.roblox.com/v1/search/items/details?Category=3 but other query are cut off

This is the output

Listening on port 80
https://catalog.roblox.com/v1/search/items/details?Category=3

Any way to solve this problem? I can't find any solution on the internet because I don't know how to explain this problem.

almost 3 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error