Closed EvgeniiaVak closed 4 years ago
Some DMS methods use POST requests to get data:
https://github.com/datopian/frontend-v2/blob/61000d863d9af71a244b68a4456ec93c54704e24/lib/dms.js#L18-L22
Which works in most of the cases, but sometimes CKAN instances block POST requests. My suggestion would be to update those methods to call GET requests, as described in CKAN docs - https://docs.ckan.org/en/2.8/api/index.html#get-able-api-functions.
Some DMS methods use POST requests to get data:
https://github.com/datopian/frontend-v2/blob/61000d863d9af71a244b68a4456ec93c54704e24/lib/dms.js#L18-L22
Which works in most of the cases, but sometimes CKAN instances block POST requests. My suggestion would be to update those methods to call GET requests, as described in CKAN docs - https://docs.ckan.org/en/2.8/api/index.html#get-able-api-functions.