I have been trying to work with the Data API of Claris Filemaker.
There's an issue with this GET query and I'd like to try sending the request without the trailing space and Tab character, as I suspect this might be the issue.
I've come to this conclusion, since the return message usually has the format "message" : "Unknown parameter(s): fieldData" and in my screenshot it seems it is returning an empty character.
Unfortunately I can't use a different service like postman, since this is an IP restricted resource.
Is there a possibility to do this or another workaround?
Welcome to the forums! Is the URL value coming from a component? A quick hack might be to add .replace(/[ \t]+$/g, '') to the reference, though you may need to play with the regex depending on what else should be in the query.
Playing around, I just re-created the resource once again from scratch and alas now the trailing character is gone! Mind you, I did not change anything in the resource config.
So while this may be the fix for the problem, maybe @retool still want to take a look at this behavior...
Thanks! Just following up with some more details, for anyone with similar problems, since I have been playing around with it some more:
The trailing tab character (\t=) issue has come up a couple more times and it seems to occur when the resource is configured with a trailing slash / in the Base URL.
Re-Creating the Resource without a backslash at the end seems to be the remedy.
Also it seems that most APIs don't care about the Tab Character.