Configure request method for a Siesta resource
问题 I have this api where the login works via post while most other requests work with get. Now I am using siesta to define the login url as a resource. func login(username: String, password: String) -> Resource { return self.resource("login").withParam("username", username).withParam("password", password); } The problem is that when I use .loadIfNeeded() on this resource it will do a get request, but that won't work because it needs to be a post request. Now I know of the existence of