Re: Help with CSRF
Hans Henrik Bergan via curl-users <[email protected]>
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <CAJmy8YFPeAvM+R+F_ohr6URZP-y324sjqScSn=QVaJiH7DQzeA@mail.gmail.com> |
You need a scripting language, like PHP or Python, curl alone won't suffice. What do you mean by "airflow UI" anyway, do you mean airflow.com ? On Sat, Jul 6, 2024, 20:58 marki via curl-users <[email protected]> wrote: > Why is that a problem with curl? > Probably you just have to pass the proper headers and cookies. > If there is other interaction like captchas or JS to protect this, then > you may be out of luck. Or you try to reverse engineer this, but that has > nothing to do with curl. > > > El 6 de julio de 2024 19:42:41 CEST, Aditya Anand via curl-users < > [email protected]> escribió: > >> Hi, >> >> I am trying to login to airflow ui using curl, >> The airflow login link generates csrf token with each hit, >> >> Even if I curl and get csrf token and try to pass it in another curl >> request, the csrf changes. >> The server returns csrf mismatch error. >> >> I can use airflow api without any issue, but wish to use grid_data api, >> which is not available in api. >> >> Posting it to the channel to get some help. >> >> >> >> Regards, >> Aditya Anand >> +91 6361 299 311 >> My Calendar >> <https://outlook.live.com/owa/calendar/6cea3fd4-03dc-4872-aa21-17e33f5fbab0/c2542b94-99be-432d-846e-978f2429bc2c/cid-2AD366EEEB0793CC/index.html> >> >> -- > Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users > Etiquette: https://curl.se/mail/etiquette.html > -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html