Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Pasculescu Liviu

Pages: [1]
REST / HTTP / HTTPS / VFP9 -> endpoint/REST/JSON/node.js
« on: February 19, 2018, 05:12:48 AM »

Header: (Key->Value)
Content-Type -> multipart/form-data
Authorization -> apikey c42c1e31-9b99-xxxx-xxxx-xxxxxxxxxxxx

Body: (Key->Value)
bulletin_no -> 18104T0065
pacient_name -> Pop Maria
bulletin_date -> 2018-01-08 07:28:00
lab_cod -> 001
lab_name -> Cluj
pacient_cnp -> 1611113354792
file -> 18104T0065.pdf
permission[0][username] -> 185xxxxxxxxxx
permission[0][email] ->
permission[0][type] -> pacient

If I call the REST endpoint service in Postman with the parameters above, it works well.
How can I call it using the Chilkat object inside VFP9 ?
How to paste the .pdf file, that is located somewhere on the local disk, in httprequest body, json format?

Thank you very much,

Pages: [1]