issues
search
million-views
/
praas
Proxy as a service.
MIT License
4
stars
2
forks
source link
Resource Server API allows curi mutation, it should not
#86
Closed
5r1n1
closed
4 years ago
5r1n1
commented
4 years ago
When a user adds a conduit, the curi is auto-generated
This curi has to be internal and unique.
Currently the update conduit function allows user to change the curi
Update conduit API should be updated to ignore the curi input and should not update a conduit's curi
kavithaii
commented
4 years ago
Add a test in routes.test.js to check for curi immutability
kavithaii
commented
4 years ago
[x] Update in conduits.js verifies for
curi
in an api request
[x] If
curi
exists sends response status 400
[x] Test script added in routes.test.js to test the
curi
should not allow curi to be updated by the service end point