According to the API Documentation, the /pireps/search and /data/airports are supposed to be accessed by a GET request.
Peeking into my server logs, I found that smartCARS was sending POST requests to those endpoints instead, which is invalid per the official API documentation.
How do you reproduce this bug?
Load the logbook and see the access.log file on a server.
Expected behavior
Logbook plugin should be using GET requests, per the documentation.
Describe the bug
According to the API Documentation, the
/pireps/search
and/data/airports
are supposed to be accessed by aGET
request.Peeking into my server logs, I found that smartCARS was sending
POST
requests to those endpoints instead, which is invalid per the official API documentation.How do you reproduce this bug?
Load the logbook and see the
access.log
file on a server.Expected behavior
Logbook plugin should be using
GET
requests, per the documentation.Screenshots
Operating system
macOS 13.3.1
Community airline
Cardinal Horizon Dev
smartCARS Version
0.11.0
Plugins installed
chat, map, flight-center, flight-tracker, logbook
Additional context
No response