This message was deleted.
# help
s
This message was deleted.
t
Can you elaborate? What request are you making and what response are you seeing?
e
curl --location 'http://localhost:9090/services/data/v58.0/query?search_term=Wiremock' \ --header 'Content-Type: application/json'
Request was not matched ======================= ----------------------------------------------------------------------------------------------------------------------- | Closest stub | Request | ----------------------------------------------------------------------------------------------------------------------- | GET | GET [path] /services/data/v58.0/query | /services/data/v58.0/query?search_term=Wiremock | content-type: application/json | content-type: application/json | Query: search_term = WireMock | search_term: Wiremock <<<<< Query does not match | | -----------------------------------------------------------------------------------------------------------------------
without query parameter it is working fine,
but when i add query parameter it is showing not found
t
It’s because the “m” in WireMock is lowercase in your request and uppercase in your stub
you can use
Copy code
"caseInsensitive": true
to avoid this issue in the equalTo matcher