jdisho / TinyNetworking

🌩 Simple HTTP network abstraction layer written in Swift
MIT License
145 stars 13 forks source link

Not support on data-binary POST method #27

Open ghost opened 4 years ago

ghost commented 4 years ago

From my side, i can see it does not support POST method with data-binary. For example

curl 'http://text.url' \
  -H 'content-type: application/json' \
  --data-binary '{"category_ids":["4a2788f8-e825-4d36-9894-efd4baf1cfae","9daef0d7-bf3c-4f50-921d-8e818c60fe61","161d9be2-e909-4326-8c2c-35ed71fb460b"]}' \
  --compressed

Any solution?

asteiman commented 4 years ago

@golangnext is it a constraint from the backend?