How To run curl using kodular?

please help :innocent:
curl -v -X POST https://api.airtable.com/v0/appKlf84IvJN1UyL1/Search
-H “Authorization: Bearer my_api_key”
-H “Content-Type: application/json”
–data ‘{
“records”: [
{
“fields”: {
“Title”: “demo title”,
“Table Name”: “demo table name”
}
},
{
“fields”: {
“Title”: “fahad”,
“Table Name”: “demo table name2”
}
}
]
}’

Use web viewer block and Join block.

In the join use the URL in first box and in the second box add the api key and in next box add the remaining codes and add the users text box one by one.

Get the answer as JSON mode by using the block when web got text

2 Likes

i tried it but not workings :sleepy:

https://api.airtable.com/v0/appu53qW5mpKdJAW2/Design%20projects

In the web viewer URL block if you join all the text like this it have to display

The above URL is to display projects

i tried all

See, in the web viewer URL, clearly it shows instead API key, you have added all the texts but there you have to fix your API key

1 Like

https://api.airtable.com/v0/YOUR_BASE_ID/Table%201?fields[]=Notes&filterByFormula=SEARCH("abc"%2C+Notes)&api_key=YOUR_API_KEY

If you combine the total blocks, finally you need to get such things… here I used the curl to search the name abc

i know, i check with my api key, byut not work

May be this one can help you

not work

@juananton1991
@Rogerio_Rios
can you help me? :sleepy:

Hey does curl works faster than airtable component ??

i don’t know

If you are using airtable then you can use airtable component which inbuilt in kodular builder

no, I don’t want to use it.

airtable component not supported my language,
curl supported ,
and i didn’t want to use Decode , Encode

May be you may missed something,

This is my curl
curl -v -X POST https://api.airtable.com/v0/app3CuWzXB2E3Sl2c/Jai
-H “Authorization: Bearer keywqyMEVd5Co7GFN”
-H “Content-Type: application/json”
–data ‘{
“records”: [
{
“fields”: {
“Name”: “Ms. S. Uma Maheswari”
}
},
{
“fields”: {
“Name”: “Mr. K. Balamurugan”
}
}
]
}’

This is blocks:

This is how i got response in app

1 Like

working?..

Yes, thats why i posted all the things…

Curl data,

app data

Do you need aia?