You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by yashp <ya...@gmail.com> on 2018/06/11 09:38:46 UTC
Handling POST data using the API
I have a file which I sent as data via POST method.
I want to pass it to the Guacamole API so that I can write this data as a
file in the backend.
What is the way to go about it? How do I link the two separate modules?
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
Re: Handling POST data using the API
Posted by yashp <ya...@gmail.com>.
The browser(client) sends requests to my server and I parse the requests to
decide what action must be taken.
I have the file content, file type, content size,etc. from the POST.
I need to forward this content (encoded in the guacamole format) over to
another function I have that writes to the guacamole stream.
For sync,end,resize requests, I know how the encoded format should look
like.(/4.sync...)
Is there a *sample encoded file transfer instruction* (For example *4.file.
....*) so that I can first verify my PoC is correct before proceeding?
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
Re: Handling POST data using the API
Posted by Mike Jumper <mi...@glyptodon.org>.
On Mon, Jun 11, 2018 at 2:38 AM, yashp <ya...@gmail.com> wrote:
> I have a file which I sent as data via POST method.
>
Sent where?
I want to pass it to the Guacamole API so that I can write this data as a
> file in the backend.
> What is the way to go about it? How do I link the two separate modules?
>
Can you describe the nature of the separate modules?
- Mike