Bash Script CURL POST Error
Бюджет $10-30 USD
- Freelancer
- Работа
- Shell Script
- Bash Script CURL POST Error
Job Description:
Please read carefully, otherwise i dont answer auto bids.
I get error FILE NAME TOO LONG
#!/usr/bin/bash
BACKDIR=/home/ykose/yedekSBOX
DATE=`date +'%m-%d-%Y'`
WPDOSYA=`for file in $BACKDIR/*$[login to view URL]; do echo "${file}"; done`
BASE64=$( base64 $WPDOSYA -w 0)
curl -X 'POST' \
'[login to view URL]' \
-H 'accept: /' \
-H 'Authorization: Bearer $2b$10$DQmaItvVtZUUpEDCwGLPCOazPAms02NytCa81uWTQgVqJcS4_5g4m' \
-H 'Content-Type: application/json' \
-d @< '{
"phone": "999999999",
"filename": '[login to view URL]',
"base64": "data:file/pdf;base64", '$BASE64',
"isGroup": "false"
}'
How can i fix the FILE NAME TOO LONG error?
$20 for the correct answer.
5 фрилансеров(-а) готовы выполнить эту работу в среднем за $20
⭐⭐⭐I can start now and I am confident that I can do it ⭐⭐⭐ I have 10 years of experience in this field and I have these skills (MySQL, Linux, PHP, Shell Scriptand Python) so just check my reviews and please have a look Больше
Hi - happy to help - please send me the githup repo and i will try my best to solve your problem - I am a Full Stack Developer with 15+ years of experience with 120+ clients - waiting for your reply. Thanks