-
-
Save cesarockstar1985/5ef6f86fc6dca7dc1c36732868e7f497 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
const body = { | |
'debt': | |
{ | |
'docId': 'test', | |
'amount': { | |
'currency': 'PYG', | |
'value': 5000 | |
}, | |
'label': 'Deuda desde el postman', | |
'validPeriod': { | |
'start': '2018-01-07T15:46:23+0000', | |
'end': '2025-12-07T15:46:23+0000' | |
} | |
} | |
}; | |
const resp = await instance.post('debts', body) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment