Add functionality to /server endpoint to be capable of recieving DELETE requests. · Issue #18 · district13labs/mc-aws · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, I want to be able to remove a previously launched server by calling an endpoint.
In order to be able to communicate with the server we need to have an endpoint, we call it /server/{:id}.
Through this endpoint we can delete a server by sending a DELETE request with an existing :id.
The :id parameter should be the ARN for the EC2 instance.
Acceptance criteria
Capable of receiving a DELETE request
HTTP Status code for a successful action is 200.
HTTP Status code if :id is wrong is 204.
The response body should be empty.
Deleting a server means to terminate the AWS instance and also remove the stored information from the application's database.
Uh oh!
There was an error while loading. Please reload this page.
Context
As a user, I want to be able to remove a previously launched server by calling an endpoint.
In order to be able to communicate with the server we need to have an endpoint, we call it
/server/{:id}
.Through this endpoint we can delete a server by sending a
DELETE
request with an existing:id
.The
:id
parameter should be the ARN for the EC2 instance.Acceptance criteria
Capable of receiving a
DELETE
requestHTTP Status code for a successful action is
200
.HTTP Status code if
:id
is wrong is204
.The response
body
should be empty.Deleting a server means to terminate the AWS instance and also remove the stored information from the application's database.
Technical recommendation
The text was updated successfully, but these errors were encountered: