Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »



REST API 

To provide a command-line-interface like HTTP capabilities to bots.



Need help?

Technical contact to tech@argos-labs.com


May you search all operations,



Base Technology


Parameters

  • REST API plugin is subset of HTTPie It is over 90% compatible.
  • For all questions about the parameters, you can visit this website for answers.
  • https://httpie.org/doc.






How to UPLOAD files using the REST API plugin


Please see below as a sample parameter settings when you want to upload files to server with the REST API plugin.







Below are further explanations using a demo upload server.


The code looks like this ---



As you can see,

URL, form, Post, and files are all reflected to the plugin from a source code like this.


FYI, if you are familiar with Python, you can run a quick test with Python’s uploadserver 1.0.0 and build quick target server.



Return Code

Code
Meaning
0Execution successful
1Execution failed
  • No labels