hasadna/open-bus-map-search

can we send MOT (משרד התחבורה) complaint using POST request?

Offen

#464 geöffnet am 09.02.2024

 (10 Kommentare) (0 Reaktionen) (1 zugewiesene Person)TypeScript (125 Forks)auto 404
backendenhancementgood first issue

Repository-Metriken

Stars
 (95 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Intro

I made this PR: https://github.com/hasadna/open-bus-backend/pull/2 to let peoples submit complaints using an API.

My implementation is very naive and straightforward - I open an actual browser and submit the request :laughing:
image

I assumed we have no resources problem, so quick and dirty approach would be a great way to achieve what we want. @OriHoch said (and he's right) that's it's very resource intensive, and maybe even a little risky.

Task:

go here see that they have an "import" button image I suspect that we can make a POST request directly to their servers. They don't use CAPTCHA :facepalm: ...

Let us know what's your thoughts about it in the comments

Contributor Guide