hasadna/open-bus-map-search

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

Open

#464 opened on Feb 9, 2024

View on GitHub
 (10 comments) (0 reactions) (1 assignee)TypeScript (125 forks)auto 404
backendenhancementgood first issue

Repository metrics

Stars
 (95 stars)
PR merge metrics
 (PR metrics pending)

Description

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