The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.
So this is what I am using to get my data from airtable
import axios from "axios"
formSubmitHandler = e => {
axios
.get(
"https://api.airtable.com/v0/" + app_id + "/" + view,
{ headers: { Authorization: "Bearer " + app_k...
By the way, the reason I was trying to implement this was because I wanted to put a contact from in my blog. I actually wrote about it on this post https://tiagofsanchez.netlify.com/2019-10-06-blog-series-building-a-contact-form-with-airtable/ it any...
JonathanBowen:
‘Content-Type’: ‘application/json’
Thank you! I think the order was the thing that was wrong!
const data = {
"records": [
{
"fields": {
"Name": name,
"Email": email,
}
...
Thank @Bill.French!
const view = "MailingList"
const app_id = "MYAPPID"
const app_key = "MYAPPKEY"
const url = "https://api.airtable.com/v0/" + app_id + "/" + view;
The url would then be https://api.airtable.com/v0/MYAPPID/MailingList
Does it make s...
Yes, I have tried that as well…
axios
.post(
url,
{
headers: {
"Authorization": "Bearer " + app_key,
"Content-Type": "application/json"
}
},
data
)
.then(re...