mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #313] Help needed with Multipart upload #190
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#190
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @antwerpenR on GitHub (Nov 14, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/313
I have been using OAuthSwift for some time successfully to read data from meetup.com. I can also do some simple .POST (eg comments upload).....but I am stuck on how to do Photo Upload.
Can you show some sample code for the MultiPart upload and/or give any tips/suggestion for how to use OAuthSwift for this endpoint: https://www.meetup.com/meetup_api/docs/2/member_photo/#create
OAuth Provider (Twitter, Github, ..): meetup.com
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
@phimage commented on GitHub (Nov 14, 2016):
I am sure how to achieve this, I don't use this functionality.
datais `Data' from fileif you can find mime type, put nil
I don't know if you can pass other parameters using
parametersdictionaryFor other parameters, try to put it in query
@antwerpenR commented on GitHub (Nov 14, 2016):
Thanks! That is what I needed. The answer was staring me in the face! The error message that I was getting was that field "photo" was required....but I could not think where to put it and then I realised that this is what the "name" parameter should be. All working fine. Thanks again