Created
March 9, 2021 18:54
-
-
Save rodcisal/3543cd84584efaabca32942eb81608d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```(echo -n '{"user":"[email protected]", "userFirstName": "Victor", "userLastName": "Baez", "profileId": "30383539-7172-7a69-5765-04566b374b30", "profileFirstName": "Margarita", "profileLastName": "Vengas azocar", "ecgId": "TESTING_ID", "ecgDateTime": "Tue Mar 09 2021 15:56:46 GMT+0100 (Central European Standard Time)", "reference": "TESTING_REFERREENCE", "deviceSN": "TESTING_DEVICE_SN", "reports": [{ "type": "ecg-pdf", "data": "'; base64 /Users/rodrigocisternas/Desktop/ecgCK.pdf; echo '"}]}') | curl -H "Content-Type: application/json" -d @- http://localhost:3000/api/ecg``` | |
Where ecgCK.pdf is a report downloaded using the API | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment