Ugh that’s a tricky question … There’s no magic trick, I guess ? Naively I think you would need to first do a GET request, parse the CSRF token somehow, then do your POST request where you also inject the CSRF token in an appropriate way …?
Ok, I was hoping that something would have been done to facilitate that, I’ll try to come up with some grep, sed and curl to do the trick. There are no helpers for GET request, isn’t it?
Also, is it possible to get the email address for an user question in the manifest ?
I don’t think so ? Or maybe ynh_local_curl ? But maybe it only does POST request … (Im not super-familiar with helper detail, I don’t do “real packaging” so often) … I guess you can just call “curl” manually :s