Vampire05 Regular Member
 Joined: 06/12/2020 Location: GermanyPosts: 88 |
| Posted: 12:58pm 03 Apr 2021 |
|
|
|

I have implemented a test server:
SAVE FILE: # HTTP POST: http://wumpiwolf.de:8000/Backup/Rest/save HTTP BODY should be -> {"filename": "test.bas", "filecontent": "..b64content.."}
LIST FILES: HTTP GET: http://wumpiwolf.de:8000/Backup/Rest/list
GET FILECONTENT: HTTP GET: http://wumpiwolf.de:8000/Backup/Rest/load?filename=test.bas
You are welcome to test it! Create an account beforehand: http://wumpiwolf.de:8000/Backup/default/user/register Then everyone sees only his own files.
For the HTTP interfaces therefore an authentication is needed by BASIC AUTH. For this you have to specify the following in the HTTP header:
Authorization: Basic BASE64(Email:Password) Edited 2021-04-04 00:11 by Vampire05 |