json-server icon indicating copy to clipboard operation
json-server copied to clipboard

Compressed Uploads

Open mickeyl opened this issue 1 month ago • 0 comments

Are they supposed to work?

When sending one, I get

SyntaxError: Unexpected token 'x', "x����T�LQ�"... is not valid JSON
    at JSON.parse (<anonymous>)
    at file:///opt/homebrew/lib/node_modules/json-server/node_modules/milliparsec/dist/index.js:21:45
    at file:///opt/homebrew/lib/node_modules/json-server/node_modules/milliparsec/dist/index.js:8:16
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///opt/homebrew/lib/node_modules/json-server/node_modules/milliparsec/dist/index.js:21:20
    at async file:///opt/homebrew/lib/node_modules/json-server/node_modules/@tinyhttp/app/dist/index.js:169:7
    at async file:///opt/homebrew/lib/node_modules/json-server/node_modules/@tinyhttp/app/dist/index.js:434:7

mickeyl avatar Jun 02 '24 16:06 mickeyl