BitcreditProtocol / E-Bill

Core for Bitcredit project.
https://www.bit.cr/
MIT License
12 stars 2 forks source link

Transform API endpoints to JSON #228

Open zupzup opened 6 days ago

zupzup commented 6 days ago

Change all endpoints from form-data to JSON

During this effort, add all existing endpoints as JSON to postman (since old frontend wont' work again)

For file-upload, think of a good solution. For example, uploading the files first, saving them to a temp location with an ID, returning the ID. Then the caller can use the ID to add the files to the request.