HebaruSan Posted April 18, 2022 Share Posted April 18, 2022 On 3/10/2022 at 12:13 PM, DasSkelett said: I think it's the curl command. "-c" only *writes* the cookies to the file, use "-b" to read from a cookie file. On 3/10/2022 at 5:39 PM, cineboxandrew said: Ah, thanks. You should probably update the example command in the docs then https://github.com/KSP-SpaceDock/SpaceDock/blob/master/api.md Have I got this right? API URL Cookie flag /api/login -c /api/mod/create -b /api/mod/1234/update -b Just wanted to make sure since I see three places using -c right now, and it seems that writing the file would still be correct for logging in. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.