You are not logged in.
Pages: 1
Hi there,
we have been making API calls using URI in the following format:
example.co.uk/api/1.0/Downloads_GetLink/assetId=40159513205/sessionId=.../settings={permanent:true}
this generates download links that seem to expire after 7 days even though we have set the permanent flag to true.
we have configured the IMS account to Allow permanent Secure File Fetch URLs.
Is there a problem in the format of the URI we are using?
Looking forward to a reply.
Regards,
Kenny
Offline
Hi Kenny, the issue in your request is that the settings parameter requires JSON and {permanent:true} isn't valid JSON. It works as a javascript literal but to be valid json the object keys need to be quoted. i.e. {"permanent":true}
hth
Ben
Offline
Thanks for the response ben, will try that
Offline
Pages: 1