Created
September 20, 2018 13:01
-
-
Save CosminNechifor/3b68f3008b61aa2af34181f60b48fd81 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(raiden) ➜ LEARNING curl -i -X POST http://localhost:5001/api/1/payments/0x0f114A1E9Db192502E7856309cc899952b3db1ED/0xa9be75a795111810139c7c0cf7c7A5a2B6663A42 -H 'Content-Type: application/json' --data-raw '{"amount": 10, "identifier": 42}' | |
HTTP/1.1 200 OK | |
mimetype: application/json | |
Content-Type: application/json | |
Content-Length: 226 | |
Date: Thu, 20 Sep 2018 13:00:14 GMT | |
{"identifier": 42, "token_address": "0x0f114A1E9Db192502E7856309cc899952b3db1ED", "initiator_address": "0xaba9D6562d4f39D7384Eea7ebc9B919d6EFd3BB2", | |
"target_address": "0xa9be75a795111810139c7c0cf7c7A5a2B6663A42", "amount": 10}% | |
(raiden) ➜ LEARNING curl -i -X POST http://localhost:5001/api/1/payments/0x0f114A1E9Db192502E7856309cc899952b3db1ED/0xa9be75a795111810139c7c0cf7c7A5a2B6663A42 -H 'Content-Type: application/json' --data-raw '{"amount": 10, "identifier": 42}' | |
HTTP/1.1 200 OK | |
mimetype: application/json | |
Content-Type: application/json | |
Content-Length: 226 | |
Date: Thu, 20 Sep 2018 13:00:37 GMT | |
{"identifier": 42, "token_address": "0x0f114A1E9Db192502E7856309cc899952b3db1ED", "initiator_address": "0xaba9D6562d4f39D7384Eea7ebc9B919d6EFd3BB2", | |
"target_address": "0xa9be75a795111810139c7c0cf7c7A5a2B6663A42", "amount": 10}% | |
(raiden) ➜ LEARNING curl -i -X POST http://localhost:5001/api/1/payments/0x0f114A1E9Db192502E7856309cc899952b3db1ED/0xa9be75a795111810139c7c0cf7c7A5a2B6663A42 -H 'Content-Type: application/json' --data-raw '{"amount": 10, "identifier": 42}' | |
HTTP/1.1 200 OK | |
mimetype: application/json | |
Content-Type: application/json | |
Content-Length: 226 | |
Date: Thu, 20 Sep 2018 13:00:48 GMT | |
{"identifier": 42, "token_address": "0x0f114A1E9Db192502E7856309cc899952b3db1ED", "initiator_address": "0xaba9D6562d4f39D7384Eea7ebc9B919d6EFd3BB2", | |
"target_address": "0xa9be75a795111810139c7c0cf7c7A5a2B6663A42", "amount": 10}% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment