synapsestudios / synapse-common

DEPRECATED
MIT License
1 stars 2 forks source link

Update gateways (auth and regular) to support uploads #41

Closed zpchavez closed 9 years ago

zpchavez commented 9 years ago

Update gateways (auth and regular) to support uploads

As done in Lively: https://github.com/synapsestudios/lively/blob/143a7af43d507b860ac30c4590fef778010935d1/application/client.js

Acceptance Criteria

  1. Can upload using synapse-common gateways

    Tasks

    • Do what we did in Lively's client.js

      Additional Notes

    • {{list additional notes here, remove if not applicable}}
zpchavez commented 9 years ago

:snowflake: :arrow_down:

baohx2000 commented 9 years ago

My only issue is it currently (unless something changed) has no ability to have more than just the file as the payload. Need to be able to do full form-encoded POST with multiple parameters.

zpchavez commented 9 years ago

If we ever need that we can implement it. For now, I'm stuck with no way to upload using synapse-common.

zpchavez commented 9 years ago

Currently only supports a single file upload, but for now that's all I need :star:

zpchavez commented 9 years ago

:m:

baohx2000 commented 9 years ago

@zpchavez have you tested this?

zpchavez commented 9 years ago

I'm using it currently on the branch I'm working on. I've successfully made upload requests as well as DELETE and non-upload POST requests.

baohx2000 commented 9 years ago

:pray:

baohx2000 commented 9 years ago

not QA testable anywhere yet

baohx2000 commented 9 years ago

:+1: