Darren Rose
07/31/2023, 9:47 AM"url": "/1/indexes/*/queries(.*)",
but this regex does not match anything for example the following does not match /1/indexes/*/queries?x-algolia-agent=Algolia%20for%20Java
- any help welcomed-----------------------------------------------------------------------------------------------------------------------
| Closest stub | Request |
-----------------------------------------------------------------------------------------------------------------------
|
POST | POST
[path regex] /1/indexes/*/queries(.*) | /1/indexes/*/queries?x-algolia-agent=Algolia%20for%20Java<<<<< URL does not match
| Script%20(4.13.1)%3B%20Node.js%20(18.16.1)%3B%20instantse
| arch.js%20(4.56.0)%3B%20react%20(17.0.2)%3B%20react-insta
| ntsearch%20(6.38.1)%3B%20react-instantsearch-hooks%20(6.3
| 8.1)%3B%20react-instantsearch-server%20(6.38.1)%3B%20JS%2
| 0Helper%20(3.13.3)
|
|
-----------------------------------------------------------------------------------------------------------------------
Tom
07/31/2023, 10:11 AM*
on its own in a regex doesn’t do anything - you need .*
or if you want to be more precise something like [0-9a-z]*
*
is actually a literal part of the URL in the request you’re sending?
If that’s the case, you might need to escape it with a (I think double) backslash: \\
Darren Rose
07/31/2023, 11:04 AM"urlPathPattern": "/1/indexes/\\*/queries(.*)",