curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: Help with CSRF

From: Hans Henrik Bergan via curl-users <curl-users_at_lists.haxx.se>
Date: Sun, 7 Jul 2024 11:58:07 +0200

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 <curl-users_at_lists.haxx.se>
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 <
> curl-users_at_lists.haxx.se> 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
Received on 2024-07-07