08.03.2021, 14:28
(04.03.2021, 17:17)admin Wrote: See this example: https://forum.logicmachine.net/showthrea...4#pid17944
Replace name/filename as needed, set ctype to text/csv and finally replace /sendPhoto with /sendDocument in the URL.
hello admin
but how to attach the CSV file in the script?
I tried mentioned code but I got this in the logs :
* arg: 1
* number: 1
* arg: 2
* number: 404
* arg: 3
* table:
["server"]
* string: nginx/1.16.1
["access-control-expose-headers"]
* string: Content-Length,Content-Type,Date,Server,Connection
["content-type"]
* string: application/json
["connection"]
* string: close
["content-length"]
* string: 55
["date"]
* string: Mon, 08 Mar 2021 14:23:48 GMT
["strict-transport-security"]
* string: max-age=31536000; includeSubDomains; preload
["access-control-allow-origin"]
* string: *
* arg: 4
* string: HTTP/1.1 404 Not Found
Best Regards,