expect-digital / translate

Translation for distributed systems
0 stars 0 forks source link

22 upload translation file #24

Closed VladislavsPerkanuks closed 1 year ago

VladislavsPerkanuks commented 1 year ago

As I understood, clients will have to encode the data to bytes themselves, e.g. when requesting using curl

curl --location --request POST 'localhost:8080/v1/upload/translationfile' \
--header 'Content-Type: application/json' \
--data-raw '{
"data" : "ewoiYSI6ImIiLAoiYS5jIiA6ICJkIiwKInZsYWRpc2xhdnMiOiJwZXJrYW5rcyIKfQ=="
}'