HTTP Proxy
Use this proxy to test specific behavior of RAPI requests. In Chrome and other Dev Tools you can only block requests. Sometimes we want to test more specific scenarios like the RAPI returning a http 400 - bad request
and therefore this tool comes in handy.
Usage
Just cd
into this directory and run npm i
. After that npm run dev
should work. Now you can use customApiUrl
for example like:
http://localhost:5173/?moc=true&=http://localhost:4938
Inside of the file proxy.js
you can now do everything you want. For an example see the commented code for https://roomle.atlassian.net/browse/RML-14293
Last updated