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,350 points
191 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,790 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,020 points
227 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,350 points
104 views
0 votes
1 answer

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

Here's a simple example for web3js 1.0.0.beta*: function handler ...READ MORE

answered Jun 8, 2018 in Blockchain by ariaholic
• 7,340 points
445 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,790 points
172 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,790 points
90 views
0 votes
1 answer