Hi,
I am testing POST- /admin/patients API using postman. I am passing below parameters as form data. If
Started POST "/api/admin/patients/" for 10.10.0.80 at 2019-09-25 08:57:28 -0400
Processing by Api::Admin::PatientsController#create as /
Can't verify CSRF token authenticity
Completed 500 Internal Server Error in 453ms
read' for nil:NilClass): app/controllers/api/admin/patients_controller.rb:47:in block in create'open' app/controllers/api/admin/patients_controller.rb:47:in create'However, when I try same zip file from popHealth UI it is working as expected and imported the patient. It increments the patients count and verify the same in MongoDB database in 'records' collection also.
I am using below popHealth version and measure bundle.
last tag: v6.0.0.rc1
bundle 2017.0.4
Please look into it and suggest way forward as API is not working.
Thanks and regards,
Shardul