junwenzh / price-monitor

MIT License
0 stars 1 forks source link

Failed to parse coordinates from query parameters #8

Closed junwenzh closed 5 months ago

junwenzh commented 6 months ago

Describe the Bug

The scrape2 GET route fails to parse the coordinates from query parameters. It's returning undefined.

To Reproduce

Steps to reproduce the behavior:

Expected Behavior

The express router should parse out url, x, and y.

Environment (please complete the following information)

junwenzh commented 6 months ago

Cause

The issue is because Express is interpreting the coordinates as part of the url argument.

Solution

The recommended solution is to convert the route to a POST request.