I am trying to fetch some data from a website where I want to filter based on whatever name I put in. I want it to search on both sides of the name in question like *email*
However if I put:
fetch("https://api.itglue.com/organizations/123456789/relationships/passwords?filter[name]=email&page[size]=500", {
method: "GET",
withCredentials: true,
headers: {
"x-api-key": "INSERTAPIKEYHERE"}})
.then(response => response.json())
.then (data => {
console.log(data);})
It will only search for the word email
I even tried:
fetch("https://api.itglue.com/organizations/123456789/relationships/passwords?filter[name]=*/email*/&page[size]=500"
but no luck.