AnsweredAssumed Answered

Posting JSON to RESTful API

Question asked by danjamins on Jan 25, 2016
Latest reply on Oct 21, 2016 by danjamins

Hi,

 

I have a project I'm working on to submit data from my FM14 customer database to a RESTful API using JSON.

 

It seems FileMaker doesn't have much support for JSON without going to external plugins.

 

I've tried using the Base Elements plugin and using the BE_JSON_Encode() function to get the JSON formatted. The only question I have now is how in the world do I POST this data to the URL I have.

 

I can't figure this out and Google isn't producing much for results.

 

I have a URL and two headers for content-type and authentication. I tried to write a script to do this but I have no idea how to go about setting this up.

 

Please help!

 

Thank you,

Dan.

Outcomes