elective-stereophonic
elective-stereophonic
How to send a file using API
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Author Topic: How to send a file using API  (Read 707 times)

hamzadiaz

  • Newbie
  • *
  • Karma: +0/-0
  • Offline Offline
  • Posts: 5
    • View Profile
How to send a file using API
« on: August 29, 2017, 10:38:10 am »

I am trying to create some form like the send a message in the NXT Wallet interface, where you can upload a file and send it to the recipient, I tried the following NXT API Calls but there is no way to upload a file:

nxtwiki.org/wiki/The_Nxt_API_Examples#Upload_Tagged_Data
nxtwiki.org/wiki/The_Nxt_API_Examples#Send_Message

I have tested the first call in localhost:6876/test and it only uploads the files to the actual node and not to the recipient. While the second call to send a message there is no option to upload a file.

If you know a possible API call capable of doing what I have described would be very helpful.

Thanks
Logged
 

elective-stereophonic
elective-stereophonic
assembly
assembly