Waves icon indicating copy to clipboard operation
Waves copied to clipboard

The requested resource could not be found but may be available again in the future. (transfer not working)

Open soulpapa opened this issue 8 years ago • 2 comments

Hello, I testing waves rest-apis in test-net. I have encountered the error in transfer api. I try request using curl command as below.

curl -H "Content-type: application/json" -H "X-API-KEY: ridethewaves!" -D '{"sender":"blabla~~","recipient":"blabla~~","fee":100000,"amount":5500000000,"attachment":"25bsUKfFsFF4WR7PDzStyxixxUDv"}' -X POST localhost:6869/assets/transfer

soulpapa avatar Apr 09 '18 03:04 soulpapa

I had the same error but it transformed with time. Now I'm getting : {'error': 1, 'message': 'failed to parse json message', 'validationErrors': {'obj': [{'args': [], 'msg': ['error.expected.jsobject']}]}, 'cause': None}

sarosbacz avatar Apr 09 '18 13:04 sarosbacz

Oh, My mistake !

curl option is fault.

-D --> -d

Thanks.

soulpapa avatar Apr 09 '18 14:04 soulpapa