Alessandro
07/11/2022, 1:16 PMJason Bosco
07/11/2022, 1:22 PMAlessandro
07/11/2022, 1:28 PMmitmweb
in reverse proxy mode, when the XHR req is ok I see that request listed in the mitmweb console, while if the XHR req is in pending state (I set 10s as timeout) I don't see it in mitmwebAlessandro
07/11/2022, 1:34 PMAlessandro
07/11/2022, 1:34 PMcurl '<http://localhost:8080/multi_search?x-typesense-api-key=sample>' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7,es;q=0.6' \
-H 'Connection: keep-alive' \
-H 'Content-Type: text/plain' \
-H 'Origin: <http://localhost:1234>' \
-H 'Referer: <http://localhost:1234/>' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-site' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.62 Safari/537.36' \
-H 'sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="102", "Google Chrome";v="102"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "Windows"' \
--data-raw '{"searches":[{"query_by":"title,shape,color,vendor,gender,productType","facet_by":"vendor,gender,productType","sort_by":"","highlight_full_fields":"title,shape,color,vendor,gender,productType","collection":"my_collection","q":"to","max_facet_values":10,"page":1,"per_page":16}]}' \
--compressed
Alessandro
07/11/2022, 1:47 PMsearchBox
InstantSearch.js widgetAlessandro
07/11/2022, 3:36 PMJason Bosco
07/11/2022, 3:43 PM<http://localhost:8080/health>
and see if that returns healthy?Jason Bosco
07/11/2022, 3:44 PMAlessandro
07/11/2022, 3:45 PM{
"ok": true
}
Alessandro
07/11/2022, 3:50 PMJason Bosco
07/11/2022, 3:50 PMAlessandro
07/11/2022, 3:51 PMJason Bosco
07/11/2022, 3:51 PMAlessandro
07/11/2022, 3:52 PMAlessandro
07/11/2022, 3:52 PMJason Bosco
07/11/2022, 3:53 PMJason Bosco
07/11/2022, 3:53 PMAlessandro
07/11/2022, 3:54 PMJason Bosco
07/11/2022, 3:54 PMJason Bosco
07/11/2022, 3:55 PMAlessandro
07/11/2022, 3:56 PMAlessandro
07/14/2022, 1:07 PM