You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I was looking for batching push requests and make a single request and not multiple requests. Let me explain more clearly. For eg, I have a push with certain channel ids and payload and there is another push with certain channel ids and payload. Now instead of making 2 requests, I want to make one single send that we do like push.send() . I have seen we can do this by passing array of push objects in Postman and it works fine. I am not able to replicate this behaviour in Python. Is there anyone we can do that. If yes, then can anyone help me and share a sample code snippet or if it's in working phase? Thanks!
The text was updated successfully, but these errors were encountered:
Hi @vanshsehgal2001 - There is not a way to queue up and batch sends with a single call to push.send() in the way that you're describing. This does seem like a somewhat unusual use case. Is there a particular reason you want or need a single push.send() call? If I know what your end goal is, I may be able to suggest another method to get what you need.
Yeah, actually want I want is that instead of making 100 individual push.send() calls, I want to create json payload of 100 objects and make a single push.send() call. It is doable using their API but I guess it's not possible using Airship's python library. So is there any other way by which it can be done using its library. Its a very urgent need.
Hey, I was looking for batching push requests and make a single request and not multiple requests. Let me explain more clearly. For eg, I have a push with certain channel ids and payload and there is another push with certain channel ids and payload. Now instead of making 2 requests, I want to make one single send that we do like push.send() . I have seen we can do this by passing array of push objects in Postman and it works fine. I am not able to replicate this behaviour in Python. Is there anyone we can do that. If yes, then can anyone help me and share a sample code snippet or if it's in working phase? Thanks!
The text was updated successfully, but these errors were encountered: