Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NoamGaash opened this issue Feb 9, 2024 · 4 comments
Open
Assignees
Labels
backend backend developers issue enhancement New feature or request good first issue Good for newcomers

Comments

@NoamGaash
Copy link
Member

Intro

I made this PR:
hasadna/open-bus-backend#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 😆
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 🤦 ...

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

@NoamGaash NoamGaash added enhancement New feature or request good first issue Good for newcomers backend backend developers issue labels Feb 9, 2024
@OfekiAlm
Copy link

Seems like a great approach to save some resources.

@NoamGaash
Copy link
Member Author

NoamGaash commented May 18, 2024

Attached:

  1. exported xml of a report
  2. har file recording of submitting a report to mot.gov.il

I've replaced my ID to 123456789. I'm ok with sharing my full name, address, phone number and email. In case you see any personal data not listed here, please report to me (noam.gaash@gmail.com)

PniotMot@mot.gov.il_20240517_1741.xml.clean.txt
forms.gov.il.clean.har.json

@SariHop
Copy link
Collaborator

SariHop commented Jun 6, 2024

can i take it?

@NoamGaash
Copy link
Member Author

@SariHop sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend backend developers issue enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants