Comments (1)
@nicolas-besnard If I understand your request, this feature is already supported. In the advanced tab you can configure both the body and the status code. Check the documentation here. With dynamic ruby for example you can parse the request parameters and decide to respond accordingly.
Note: I'm closing this issue unless you get back to me with an update in case I didn't understand/cover your request.
from duckrails.
Related Issues (20)
- support dummy-json templates
- how to set delays HOT 2
- Help execute Duckrails in Docker TTY HOT 1
- Create mock with return alternative HOT 1
- Request HTTP in ResponseBody HOT 2
- Overwriting headers in Advanced causes 500
- Dupplicating a mock
- Where application Logs are?
- pass JSON values from request to response HOT 1
- How to use query parameters? HOT 1
- Docker absolute volume path and runtime error HOT 8
- Overwrite status code return HOT 1
- Validation parameter in advanced mode HOT 2
- Getting request header dynamically using Javascript
- SQLite3::SQLException HOT 1
- I need to configure postgres from aws HOT 1
- How better computer definition to run duckrails
- Can't install capybara-webkit because of lack of support from Qt 5.6+
- Cant run the docker image in Mac with Apple chip HOT 1
- Support Search on mocks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duckrails.