You can upload and use JavaScript and CSS files on Requestly’s File Server. This lets developers host JS or CSS files for testing and development purposes. Here are the steps to create a JS/CSS File:
1
Go to the File Server in Requestly.
From the Requestly dashboard, click on "Files" then “JS/CSS Files” in the left menu bar.
2
Click on "New file" to create a empty file or “Upload file” to upload a JS or CSS file directly.
3
Select the type of file you want to host.
From the popup, select the type of file you want to host (CSS or JS)
4
Configure the file
Enter the following details:
-
Name: Provide a descriptive name for the file.
-
Data: Input the file content directly or upload the file.
-
Endpoint: Define a unique endpoint for accessing the file.
5
Click on "Create" to finalize the hosted file.
Once created, you can copy the generated URL using “Copy URL” button to access the hosted file and see it in action.