hasadna/open-bus-map-search

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

开放

#464 创建于 2024年2月9日

 (10 条评论) (0 个反应) (1 位负责人)TypeScript (125 个派生)auto 404
backendenhancementgood first issue

仓库指标

星标
 (95 个星标)
PR 合并指标
 (平均合并 6天 5小时) (30 天内合并 42 个 PR)

描述

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

贡献者指南