@aaronpk I'm implementing a Micropub endpoint on a Vapor site (written in Swift). According to the Indieweb.org documentation, the state parameter “can contain anything”. Does this mean a String or Int are perfectly acceptable?
@aaronpk I'm implementing a Micropub endpoint on a Vapor site (written in Swift). According to the Indieweb.org documentation, the state parameter “can contain anything”. Does this mean a String or Int are perfectly acceptable?
@aaronpk Cool. With my Swift type I had to declare it as a type at the outset, so I just wrote up a custom decoder to check for a string, then an Int, and otherwise it will be nil. The Int gets coerced to a String if it’s there. Do you know of any good test suite I could run locally against my server?