Consuming an api that requires authentication in the form of 'X-Auth-Token: key’
What is the correct syntax with http.get?
I used params: till I got 429 reaching my request limit, looking at the docs it should be { headers:‘X-Auth-Token : c55249df51e42368a9f2d28cf143507’ } but I get a 500 error and an HTML result.
I’m calling these api-consuming-methods using publish but how do I return errors to the subscriber in cases like the above when the error message isn’t a cursor?
Is there a way to condition the publish/subscribe for 3rd party api errors?