This bash curl statement used to work and did provide me the requestToken from a filerequest as stated https://support.box.com/hc/en-us/articles/360043697554-Configuring-Individual-Shared-Link-Settings
requestToken=$(curl -c cookies.txt -d "password=$filePassword" -i -L -s -X POST https://ibm.box.com/s/eyvgkuomicharkia7nxyoe9jec6xxbnl | sed -n 's/.*"requestToken":"\((^"]*\)".*/\1/p') returns for example: a398b2203ca210b0cdc59d248d3cef4483504ee55f1a9209fdb5cb4e44ed2f36 Since last week, it compains about "POST requests require a Content-length header." so i added a Content-Length header like
however the request never completes ...eventually following error is thrown "The server encountered a temporary error and could not complete your request."
|