I use the Documentation plugin to generate the OpenApi file which I then use to generate the API in my angular project.
When I visit this URL in my browser http://localhost:1337/api/pages?filters[path][$eq]=abc
I get the page I am looking for.
But I don’t know how to make it work with the generated API. Currently I have this:
path: {
$eqi: 'abc',
},
}
this.pageApi.getPages({ filters: pageFilters }).subscribe((pages:PageListResponse) => {
this.pages = pages.data;
})```
which generates this URL: `http://localhost:1337/api/pages?filters%5Bpath%5D=%24eqi%3Dabc`
But I don't get any results.
Any idea what I'm doing wrong?
Thanks!
<i>This topic has been created from a Discord post (1220760245224341625) to give it more visibility.
It will be on Read-Only mode here.
<a href="https://discord.com/channels/811989166782021633/1220760245224341625/1220760245224341625">Join the conversation on Discord</a></i>