AnsweredAssumed Answered

JSON '-d @file' request

Question asked by f.i.sciences on May 10, 2018
Latest reply on May 10, 2018 by skywillmott



I'm using TSheet JSON API with FileMaker and it's working great.


One thing that I can't figure out still (the -d @file option on this request):


## REQUEST curl -H "Authorization: Bearer <Access-Token>" -H "Content-Type: application/json" -X POST -i "" -d @tsuser_create.json


## contents of the tsuser_create.json file are:


"data": [


   "username": "joni",

   "first_name": "Joni",

   "last_name": "Smith",

   "require_password_change": true,

   "password": "r@nd420m"

  } ]



How do I pass this file in the request with Insert From URL()?

Thank you.