https://frp.sage.fr/wiki1000/index.php?title=Requ%C3%AAte_HTTP_(activity_bp)&feed=atom&action=historyRequête HTTP (activity bp) - Historique des versions2024-03-29T13:56:51ZHistorique pour cette page sur le wikiMediaWiki 1.18.6https://frp.sage.fr/wiki1000/index.php?title=Requ%C3%AAte_HTTP_(activity_bp)&diff=2744&oldid=prevSyfre le 14 décembre 2009 à 13:522009-12-14T13:52:27Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Version précédente</td>
<td colspan='2' style="background-color: white; color:black;">Version du 14 décembre 2009 à 13:52</td>
</tr><tr><td colspan="2" class="diff-lineno">Ligne 10 :</td>
<td colspan="2" class="diff-lineno">Ligne 10 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Fichier</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>*Fichier</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>:Fichier recevant le contenu de la réponse. Si le nom est relatif le fichier sera retrouvé ou placer dans le répertoire de l’instance du processus.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>:Fichier recevant le contenu de la réponse <ins class="diffchange diffchange-inline">(GET) ou contenant les données à envoyer (POST)</ins>. Si le nom est relatif le fichier sera retrouvé ou placer dans le répertoire de l’instance du processus.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>:Si Fichier n'est pas défini aucun fichier n'est créé.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>:Si Fichier n'est pas défini aucun fichier n'est créé.</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Ligne 22 :</td>
<td colspan="2" class="diff-lineno">Ligne 22 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>!Paramètre</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>!Paramètre</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">!Type</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>!valeur</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>!valeur</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|ResponseCode</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|ResponseCode</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|GET,POST</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Code de retour du serveur.<br></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Code de retour du serveur.<br></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Exemple : 200</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Exemple : 200</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|ResponseText</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|ResponseText</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|GET,POST</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Texte correspondant au code de retour.<br></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Texte correspondant au code de retour.<br></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Exemple : HTTP/1.1 200 OK</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Exemple : HTTP/1.1 200 OK</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|ContentLength</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|ContentLength</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|GET,POST</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Taille du contenu.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Taille du contenu.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Content</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Content</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|GET,POST</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Contenu de la réponse.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Contenu de la réponse.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|-</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|Post</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|POST</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|Données à envoyer.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>Syfrehttps://frp.sage.fr/wiki1000/index.php?title=Requ%C3%AAte_HTTP_(activity_bp)&diff=2736&oldid=prevSyfre : Nouvelle page : Ces activités permettent d'effectuer des requêtes HTTP. {{#images:image168.png|Guide_-_Processus_métiers}} *URL :URL du document HTTP à interroger. *Referer :Référant de la ...2009-12-14T12:54:59Z<p>Nouvelle page : Ces activités permettent d'effectuer des requêtes HTTP. {{#images:image168.png|Guide_-_Processus_métiers}} *URL :URL du document HTTP à interroger. *Referer :Référant de la ...</p>
<p><b>Nouvelle page</b></p><div>Ces activités permettent d'effectuer des requêtes HTTP.<br />
<br />
{{#images:image168.png|Guide_-_Processus_métiers}}<br />
<br />
*URL<br />
:URL du document HTTP à interroger.<br />
<br />
*Referer<br />
:Référant de la requête.<br />
<br />
*Fichier<br />
:Fichier recevant le contenu de la réponse. Si le nom est relatif le fichier sera retrouvé ou placer dans le répertoire de l’instance du processus.<br />
<br />
:Si Fichier n'est pas défini aucun fichier n'est créé.<br />
<br />
*Préfix des paramètres<br />
:Préfix à utiliser pour la création des paramètres. <br />
<br />
:Si le préfix est défini les paramètres suivant seront créés par l'activité :<br />
<br />
{|class="wikitable"<br />
|-<br />
!Paramètre<br />
!valeur<br />
|-<br />
|ResponseCode<br />
|Code de retour du serveur.<br><br />
Exemple : 200<br />
|-<br />
|ResponseText<br />
|Texte correspondant au code de retour.<br><br />
Exemple : HTTP/1.1 200 OK<br />
|-<br />
|ContentLength<br />
|Taille du contenu.<br />
|-<br />
|Content<br />
|Contenu de la réponse.<br />
|}<br />
<br />
*Enregistrer les entêtes.<br />
:Enregistrer dans les messages de l'instance les attributs des entêtes HTTP. Cette option peut être utile dans la phase de mise au point.<br />
<br />
*Accepter les cookies.<br />
:Enregistrer les cookies retournés par le serveur comme paramètre de l'instance. Tous les paramètres de type cookies de l'instance sont automatiquement rechargés dans le contexte d'exécution des requêtes HTTP.<br />
<br />
*Accepter les redirections.<br />
:Gère automatiquement les redirections retournées par le serveur.<br />
<br />
===Authentification===<br />
<br />
{{#images:image169.png|Guide_-_Processus_métiers}}<br />
<br />
*Utilisateur<br />
*Mot de passe<br />
:Ces informations sont utilisées si la requête nécessite une authentification.<br />
<br />
{{tip|Ces informations peuvent aussi être passées dans l'URL.}}<br />
<br />
{{tip|Le paramétrage d'un proxy est globale à l'application, voir [[Fichier_de_configuration_(server)|le fichier de configuration du service]]}}<br />
<br />
===Evènements en retour===<br />
<br />
Si le code de retour est 200 l'évènement enchaîné est OK , sinon l'évènement enchaîné est NOK.<br />
<br />
Voir aussi :<br />
<br />
{{Footer|Processus Métiers (bp)}}<br />
[[category:Activités (bp)]]<br />
[[category:Processus Métiers]]</div>Syfre