<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>13 Jul 2020 11:14:15 Z</lastBuildDate><pubDate>13 Jul 2020 08:31:26 Z</pubDate><description>Bonjour à tous,&#13;
&#13;
Je cherche à me connecter à mes tableaux TRELLO depuis windev via les API.&#13;
Il semblerait que mes requêtes HTTP ne soient pas les bonnes puisque j'obtiens une erreur 401 (les mêmes paramètres avec PostMan fonctionnent pourtant bien).&#13;
&#13;
[code:wl]&#13;
requete est un restRequête&#13;
reponse est un restRéponse&#13;
&#13;
// Récupération d'un nouveau token&#13;
AVEC requete&#13;
..URL="https://api.trello.com/1/boards"&#13;
..Entête["name"] ="WDTestAPI"&#13;
..Entête["defaultList"] = "false"&#13;
&#13;
..Entête["oauth_consumer_key"] = Encode("919df10df6df53b8b82a68ecab0XXXX",encodeBASE64URL)&#13;
..Entête["oauth_nonce"] = Encode("6xr6DsnXXXX",encodeBASE64URL)&#13;
..Entête["oauth_signature"] = Encode("adc5255127fd37456f71324a44c34cb12416541c59ab48952aaa09fd816abe49&amp;adc5255127fd37456f71324a44c34cb12416541c59ab48952aaa09fdXXXXXX",encodeBASE64URL)&#13;
&#13;
..Entête["oauth_signature_method"] = "PLAINTEXT"&#13;
..Entête["oauth_timestamp"] = "1594619285"&#13;
..Entête["oauth_token"] = Encode("439751bdf2708398c9f5b72a6c20e5130af23ae55a077c4a77753f710aXXXX",encodeBASE64URL)&#13;
..Entête["oauth_version"] = "1.0"&#13;
&#13;
..ContentType="application/x-www-form-urlencoded"&#13;
..AgentUtilisateur="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0"&#13;
..Méthode=httpPost&#13;
&#13;
FIN&#13;
&#13;
reponse=HTTPEnvoie(requete)&#13;
[/code]&#13;
&#13;
&#13;
Est-ce que l'un d'entre vous pourrait me communiquer son code ?&#13;
D'avance merci ...</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/241119-api-trello/read.awp</link><title>API Trello</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>cyril</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/241119-api-trello-241123/read.awp</comments><pubDate>13 Jul 2020 11:14:15 Z</pubDate><description>C'est bon, j'ai trouvé.&#13;
Les mêmes données dans un formulaire HTTP fonctionnent.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/241119-api-trello-241123/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/241119-api-trello-241123/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/241119-api-trello/read.awp">API Trello</source><title>Re: API Trello</title></item></channel></rss>
