Publish example - generated code based on form data #177

Closed
opened 2018-10-10 00:45:27 +02:00 by tzarebczan · 0 comments
tzarebczan commented 2018-10-10 00:45:27 +02:00 (Migrated from github.com)

Similar to how we show how data is being passed in steps 1 and 3, we should show the publish call with the current form data (besides the path, as this won't be valid locally).

Currently we show:
curl --header "Content-Type: application/json" --data '{ "method": "publish", "params": { "name": "TITLE_OF_YOUR_CONTENT", "file_path": "ABSOLUTE_PATH_TO_MEDIA_ON_YOUR_COMPUTER", "bid": "0.001", "metadata": { "description": "DESCRIPTION_OF_YOUR_CONTENT", "title": "TITLE_OF_YOUR_CONTENT", "language": "en", "license": "", "nsfw": false }}}' http://localhost:5279

Similar to how we show how data is being passed in steps 1 and 3, we should show the publish call with the current form data (besides the path, as this won't be valid locally). Currently we show: `curl --header "Content-Type: application/json" --data '{ "method": "publish", "params": { "name": "TITLE_OF_YOUR_CONTENT", "file_path": "ABSOLUTE_PATH_TO_MEDIA_ON_YOUR_COMPUTER", "bid": "0.001", "metadata": { "description": "DESCRIPTION_OF_YOUR_CONTENT", "title": "TITLE_OF_YOUR_CONTENT", "language": "en", "license": "", "nsfw": false }}}' http://localhost:5279 `
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry.tech#177
No description provided.