mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #282] Unable to Understand Header values. bellow is code i have used. Please suggest solution #166
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#166
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 @Mahadev77 on GitHub (Sep 29, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/282
@phimage commented on GitHub (Sep 29, 2016):
I take my time to respond, take yours
headers: ["Authorization":??????????????]you don't have to fill header with "Authorization"it is automatic if you are authentified
It's for additional headers that oauth provider need
@Mahadev77 commented on GitHub (Sep 29, 2016):
Dear,
you don't have to fill header with "Authorization"
it is automatic if you are authentified -- i am using
Thanks for your reply.
On Thu, Sep 29, 2016 at 2:08 PM, Eric Marchand notifications@github.com
wrote:
@phimage commented on GitHub (Sep 29, 2016):
I can help more without more information
404 is a generic http error, in web view or in log?
@Mahadev77 commented on GitHub (Sep 29, 2016):
Thank you for your reply.
I have sort out that problem.
Thanks,
Mahadev
On Thu, Sep 29, 2016 at 6:03 PM, Eric Marchand notifications@github.com
wrote:
@idelfonsog2 commented on GitHub (Oct 18, 2016):
Hi @phimage Im having the same issues and I get this as a response:
Response-Body=Optional("{\"meta\":{\"status\":400,\"msg\":\"Bad Request\"},\"response\":{\"errors\":[\"Post cannot be empty.\"]}}")}]my code is the following
(TMClient.sharedInstance().tumblrURL(withPathExtension: Methods.PostText) is essentially this:
URL: https://api.tumblr.com/v2/blog/idelfonsog2.tumblr.com/post
you can also see it below
@phimage commented on GitHub (Oct 18, 2016):
@idelfonsog2 please open a new issue
this one is closed and I see anything that can make us conclude easily that the issue is the same...
then I commit a tumblr test in demo app , a GET equest
a POST test will be added later (and it's work for me)