How to create an asset on Bigchaindb server using http call

0 votes

I have created an account on bigchaindb site. Now I want to post some data to online server using http call by postman. I got it that I need to mention api_key and app_id in header. What I need to keep in body and what other parameters should be passed ?

Sep 19, 2018 in Blockchain by sabby
• 4,370 points
428 views

1 answer to this question.

0 votes

You could start like this:

method = POST

URL = https://test.bigchainb.com/api/v1/transactions?mode=commit

Headers

app_id: value

app_key: value

Content-Type: application/json

Body

The final, signed (fulfilled) transaction goes in the body, but I'm not sure what format Postman expects it in. Maybe a Unicode JSON string?

To construct a valid signed transaction, you should probably use one of the BigchainDB drivers, and if you're doing that, then why not also use the same driver to POST the transaction to the BigchainDB Testnet? Here's a list of drivers:

http://docs.bigchaindb.com/projects/server/en/master/drivers-clients/index.html

answered Sep 19, 2018 by Christine
• 15,810 points

Related Questions In Blockchain

0 votes
1 answer

How can I create an online wallet without any 3rd party API on my PHP server?

With any approach, you need a bitcoin ...READ MORE

answered Aug 29, 2018 in Blockchain by Perry
• 17,100 points
752 views
0 votes
1 answer

How to create a cryptocurrency based reward system using Ethereum?

I doubt that you'd need a decentralized ...READ MORE

answered May 30, 2018 in Blockchain by Shashank
• 10,400 points
199 views
0 votes
2 answers

How to get notified when an event triggers on ethereum smart contract?

Muchas gracias. ?Como puedo iniciar sesion? READ MORE

answered May 2 in Blockchain by aqowcmbevs
844 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,810 points
410 views
0 votes
1 answer
0 votes
1 answer

How to create a new wallet on a blockchain?

Firstly, you need to have a clear ...READ MORE

answered Apr 4, 2018 in Blockchain by Christine
• 15,810 points
248 views
0 votes
1 answer