Closed Rhuantavan closed 8 years ago
That's a good heads up about tagging requiring reputation on Stack Overflow. Hand’t even occurred to me! Perhaps I'll rethink that recommendation about getting help in the README.
The Service.resource(url:)
method — the one with the parameter labeled url:
— expects a complete URL. It looks like you want Service.resource(_:)
, which takes a path relative to the Service’s base URL.
Try:
api.resource("users/login")
Yes, the resource(url:) was the problem. Thanks.
Sure thing!
On Oct 15, 2015, at 9:50 AM, Rhuantavan notifications@github.com wrote:
Yes, the resource(url:) was the problem. Thanks.
— Reply to this email directly or view it on GitHub https://github.com/bustoutsolutions/siesta/issues/8#issuecomment-148409513.
Over at SO I have posted a question about siesta erroring-out on a simple post request: http://stackoverflow.com/questions/33147850/siesta-ios-post-request-errors-out-with-unsupported-url
Unfortunately I cannot create a new "siesta-swift" since I haven't got enough reputation to create a new tag.
Siesta configuration & login server call
Debug log