forward.url - Filemaker Database - Authentication Issue

Roland Bucher7 years ago

Hi there

I try to use Traccar forward.url option towards Filemaker Custom Web Publishing XML Interface.

Example to add a record in Filemaker:

http://login:password@hostname/fmi/xml/fmresultset.xml?-db=testdb&-lay=testlayout&field1=value1&-new
 
When I run this from a web browser it works fine, the record will be written to the database.

When Traccar is going to send it the request is received by the filemaker server but
the record won’t be created in filemaker. The filemaker server log reports the following:
 
IPfmpserver IPsourceapp:55966 - XML HTTP:401 0 "/fmi/xml/fmresultset.xml?-db=testdb&-lay=testlayout&field1=value1&-new“
 
It looks like a HTTP 401 (Unauthorized) issue.

I’ve learned it requires a wrapper in order to be able to authenticate on Filemaker but I have
no experience here.

Does anyone know how to achieve it?

Thank you very much.
Regards
Roland

Anton Tananaev7 years ago

Forwarding module doesn't really support authorization, so you won't be able to achieve it without code modifications.