I have created a mock server. I access it via {{url}}/mock1 and the response body I have mocked is the below.

        "ID": 1,
        "LETTER": "A"
        "ID": 2,
        "LETTER": "B"
        "ID": 3,
        "LETTER": "C"

How can I simulate passing some input parameters in the GET request? For example, if I just want to retrieve the ID 1?

1 Answer 1


On client side in URL you should send the query string (name/value pairs) in the URL of a GET request:


On server side you should receive and handle this ID parameter.

For more details check HTTP Request Methods


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.