help: replace curl command by simpler request instruction (#76276) #233
Loading…
Reference in New Issue
No description provided.
Delete Branch "wip/76276-doc-API-retirer-les-signature-de"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -48,3 +48,2 @@
<screen>
<output style="prompt">$ </output><input>curl -H "Accept: application/json" -X POST \
https://www.example.net/inscriptions/newsletter/14/jump/trigger/validate/<var>?signature…</var></input>
<input>POST https://www.example.net/inscriptions/newsletter/14/jump/trigger/validate/</input>
Pour ce qui est hors de /api/ le Accept: application/json est nécessaire. (il me semble que c'est le seul endroit).
(s'il y a Content-type: application/json parce que du json est posté ça marche aussi, mais ça n'est pas le cas dans ce premier appel).
(je ne sais pas comment formaliser sur la ligne d'appel ça, peut-être juste par un commentaire au-dessus ?)
0bd6d7bf27
to9185092a48
9185092a48
to52ab3681ef
Ouep, ajouté