10

yelp api にクエリを実行したいのですが、次のルートがあります。

app.get("/yelp/term/:term/location/:location", yelp.listPlaces)

GETリクエストを行うと

http://localhost:3000/yelp?term=food&location=austin

エラーが発生します

Cannot GET /yelp?term=food&location=austin

私は何を間違っていますか?

4

3 に答える 3