Open theTechie opened 4 years ago
Looks like the validation is missing while posting data to the API.
But the validation is in place while fetching data doing GET. This is causing the fetch API to fail since the data is corrupted now.
time data '27:03:2020:12:50:00' does not match format '%H.%M.%m.%d.%Y' Request Method: GET Request URL: http://52.66.156.232:8000/map/positive/ Django Version: 3.0.5 Python Executable: /usr/bin/python3 Python Version: 3.6.9 Python Path: ['/home/ubuntu/Backend-sanjanamoha/api/corona_project', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/home/ubuntu/.local/lib/python3.6/site-packages', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages'] Server time: Sat, 25 Apr 2020 10:08:19 +0000 Installed Applications: ['django.contrib.admin', 'django.contrib.auth',
@sanjanamoha @codeJRV FYI
Please mention all the validations you would require for the input formats of intersection calculation.
Looks like the validation is missing while posting data to the API.
But the validation is in place while fetching data doing GET. This is causing the fetch API to fail since the data is corrupted now.