I use Angular’s HTTP client for all API calls.
I don’t know enough about the plugin you are using but do not believe that it is taking your query string and converting the key/value pairs to JSON.
With Angular’s client, you can easily pass a JSON object and strongly type all methods.