Bitcoin Forum
May 14, 2024, 07:52:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: api bitcoin-central  (Read 1068 times)
glub0x (OP)
Legendary
*
Offline Offline

Activity: 892
Merit: 1013



View Profile
March 24, 2013, 12:01:44 PM
 #1

Bonjour, je travail actuellement sur un projet impliquant l'api de bitcoin-central.
Je bloque sur un point : l'authentification.

il est marqué
Quote
Authentication and authorization may be done with :

HTTP Basic
OAuth2

Mon projet étant personnel, OAuth2 ne m'intéresse pas particulierement et j'aimerai si possible utiliser une authentification simple en http.
Pourtant je ne trouve pas de documentation sur ce point précis.
Quelle adresse appeler et quels sont les arguments?

The cost of mediation increases transaction costs, limiting the
minimum practical transaction size and cutting off the possibility for small casual transactions

Satoshi Nakamoto : https://bitcoin.org/bitcoin.pdf
twix
Newbie
*
Offline Offline

Activity: 35
Merit: 0



View Profile
March 24, 2013, 12:12:16 PM
 #2

Il me semble que pour l'instant l'authentification OAuth n'est pas pleinement implémentée, donc il faut utiliser l'authentification HTTP Basic, telle que décrite ici par exemple :

http://fr.wikipedia.org/wiki/HTTP_Authentification#M.C3.A9thode_Basic

Il faut juste rajouter cette en-tête à la requête HTTP que tu souhaite faire
glub0x (OP)
Legendary
*
Offline Offline

Activity: 892
Merit: 1013



View Profile
March 25, 2013, 04:03:53 PM
Last edit: March 25, 2013, 05:50:51 PM by glub0x
 #3

ca marche tres bien merci, maintenant j'ai des gros délais de réponse (5-30 sec), bitcoin-central a du mal ou c'est juste moi?

The cost of mediation increases transaction costs, limiting the
minimum practical transaction size and cutting off the possibility for small casual transactions

Satoshi Nakamoto : https://bitcoin.org/bitcoin.pdf
Khertan
Full Member
***
Offline Offline

Activity: 193
Merit: 100


View Profile WWW
March 26, 2013, 03:08:14 PM
 #4

Non ça rame Smiley

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!