Using Postman to create a record
Previously I experiment with searching using Postman Today lets create a record and upload a file in the same request.
Some Code
Here is the HTTP I generated using Postman.
POST /ServiceAPI81/record HTTP/1.1 Host: desktop-39dgcn3 Authorization: Basic aXR1X3RhZG1pbjpUcmltQEhQMQ== Accept: application/json Cache-Control: no-cache Postman-Token: b9575896-9e99-ccf0-4803-452e4fba11d4 Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="RecordRecordType" Document ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="Files"; filename="" Content-Type: ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="RecordAuthor" david ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="AlcoholLevel" 5 ------WebKitFormBoundary7MA4YWxkTrZu0gW--
Written on June 22, 2017