- November 8, 2018 at 12:47 pm #75225
Hello and thanks a lot for your great work around FileMaker Data API with fmREST. I use it and it works pretty well.
I still have a little problem that you talk about somewhere. I use a webhook from a mass mailler platform and I set this webhook to do REST request to my php page using fmREST. When a mail campaign is launched from the platform each webhook request ask a new token. So on my FileMaker Server I can see sometime a big amount of request on my server. I join a screen copy only 38 request but it can be much more.
I don’t know if it’s really possible to have only one token for all the request within the 15 minutes (I think) the token should last.
Thanks for your answer
- November 8, 2018 at 1:32 pm #75226
Hi Christophe –
More than likely, this is because you are not using a secure connection in your browser. The fmREST functions will only store the token when you’re in a secure session in your browser. We store the session using a secure cookie.
If you’re calling this as an internal hook, the tool you’re using for your hook must support cookies and must be called using “https”. Otherwise the cookie won’t be stored.
I’m not sure if this applies to you, but I did just search to see if FileMaker supports cookies in the insert from url script step, and it looks like you need to program for it:
You must be logged in to reply to this topic.