Hi, I am trying to make a call to get files through postman. I am trying to make an API call but constantly facing this issue:
And when I add Date header in Header section then I face following issue:
Can anyone please help me how to resolve this issue? I am stuck!
Please try to use an Accept header value of application/vnd.uploadcare-v0.7+json instead of basic application/json.
@ushahid could you show the
baseUrl and also make sure that your request includes the
Authorization header as well (see API refs for more details)?
Here’s a cURL representation of the request you’re trying to make. You can simply import it into Postman (be sure to replace the demo API keys with yours)
curl --request GET \
--url 'https://api.uploadcare.com/files/?limit=100&ordering=-datetime_uploaded&from=2022-05-15T10:00:00' \
--header 'Accept: application/vnd.uploadcare-v0.6+json' \
--header 'Authorization: Uploadcare.Simple demopublickey:demoprivatekey'