-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upload request #11
Comments
Already supports that if you use Alamofire 4.0/AlamofireSynchronous 4.0 let response = Alamofire.upload(data, to: url).responseJSON(); |
Maybe @kolisko was asking about the multipart form data ? I did not find a better way than to add a new function using the same method you did :
this allows to call the following :
If this is not what @kolisko asked for, I'm ok with bringing this to a new issue. I'd like to make a PR about this, but do you see a better way to make this fit the actual project, instead of creating a new class ? |
I would love to see multipartFormData added without adding the separate class. |
@cheizer if you have any idea how to, I'm open to suggestions :) |
I'm looking in to it, I have a temporary solution based on the code you posted for @kolisko. The problem I had with it was the semaphore was not working 100% of the time at least not in the debugger using Xcode 8.2.1. It's like the semaphore.wait was being ignored so the result was always nil. |
Ok, I know this is late, but @cheizer, you also had that semaphore issue? I'm experiencing that on Xc 8.3 and I thought I was doing something inexplicably dumb. Any updates? |
No, I've moved on, I still have the issue. |
Hi,
I would like to ask you if is possible to add upload request synchronous please?
Thank you,
Michal
The text was updated successfully, but these errors were encountered: