hasadna/open-bus-map-search

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

Aberta

#464 aberto em 9 de fev. de 2024

 (10 comentários) (0 reação) (1 responsável)TypeScript (125 forks)auto 404
backendenhancementgood first issue

Métricas do repositório

Stars
 (95 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador