Links

Managing File Server

Login
When you navigate to the File Server, it will ask you to log in using your google account. This is required to prevent abuse of service and to manage/organize your files on Requestly servers.
Upload File
You can upload a file from your file system using the upload button.
After you have uploaded a file, you will see a dialog with the details of the file. You can click on Download URL Icon to copy the URL of the file.
Edit Content
Once you have uploaded your file, you can also edit the content from File Editor. Just click on Edit File Content button in File Details Dialog as mentioned above and you will see a file editor like this –
As you can see Requestly File Editor supports a lot of features like:-
  1. 1.
    Syntax Highlighting
  2. 2.
    Error Highlighting
  3. 3.
    Supports Multiple Languages
Create New File
You can also create a new file (JS/CSS/JSON) using Add button on the toolbar. When you click on the toolbar, it will show a dialog to fill in file details.
And now you can add file content which will again take you to the file editor.
Q: If I change file content, will the URL change?
No, You can change file content as many times and your URL will be unaffected. This will make your debugging life easier.

Using File Server in Rules

Once you have uploaded your files to the File Server, you can get the download URL of the file. You can use that URL in Requestly rules like Redirect Rule & Script Rule.