AnsweredAssumed Answered

Insert from URL and Curl - what is correct formating?

Question asked by asbjotve on Aug 8, 2018
Latest reply on Aug 9, 2018 by asbjotve

I have developed a movie-archive solution for myself, and the next step is to find out how I can import series-data to filemaker.

 

TheTVDB.com uses REST API and JSON, but when I try to insert the curl, I cant get it working. My question then are, what are correct formating, of the Curl-input is something like this?:

 

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{

  "apikey": "4242342QUI323421423",

  "userkey": "9H3423SCHDD34343434",

  "username": "nobody.name321"

}' 'https://api.thetvdb.com/login'

 

When I insert that, I get "the specific table does not exist", and I think it is all the single and double apostrophes that is not correct?

Outcomes