So, I was deciding whether or not to use the gamejolt API to do some persistent stuff. Being a wannabe command line guru, I decided I would use curl to test it out.
This blog saved my sanity. I neglegted to consider the newline that ‘echo’ outputs by default, which was throwing off the md5sum signatures, and thus every request came back with ‘invalid signature’.
So, moral of the story, use ‘echo -n’ to avoid that pesky newline!
0 comments