hasadna/open-bus-map-search

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

Aperta

#464 aperta il 9 feb 2024

 (10 commenti) (0 reazioni) (1 assegnatario)TypeScript (125 fork)auto 404
backendenhancementgood first issue

Metriche repository

Star
 (95 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor