Bitcoin Forum
November 23, 2017, 10:17:03 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: api bitcoin-central  (Read 980 times)
glub0x
Legendary
*
Offline Offline

Activity: 805



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
1511432223
Hero Member
*
Offline Offline

Posts: 1511432223

View Profile Personal Message (Offline)

Ignore
1511432223
Reply with quote  #2

1511432223
Report to moderator
1511432223
Hero Member
*
Offline Offline

Posts: 1511432223

View Profile Personal Message (Offline)

Ignore
1511432223
Reply with quote  #2

1511432223
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511432223
Hero Member
*
Offline Offline

Posts: 1511432223

View Profile Personal Message (Offline)

Ignore
1511432223
Reply with quote  #2

1511432223
Report to moderator
twix
Jr. Member
*
Offline Offline

Activity: 35


1twixx


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
Legendary
*
Offline Offline

Activity: 805



View Profile
March 25, 2013, 04:03:53 PM
 #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


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

Non ça rame Smiley

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!