New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jsonbatch demo site and conditionals #2
Comments
I'm working on it. And JsonBatch can handle conditionals based on the responses as well. It will choose a request template or response template based on the predicate field. |
Thanks for the quick response and the new UI your working is much improved 👍. I can create another issue but was thinking about how authentication of endpoints will work. Are there future plans for authentication? ideally per endpoint? Currently I have basic authentication with an interceptor for okhttp but that's likely not where this library is going. |
Authentication is not in scope of this lib. When you execute a batch template, you can pass along the original request data (headers, body, ...) and access it later to build actual request. Or you can create a custom RequestDispatcher with OkHttp and your own interceptor. |
Thanks for the response. Great stuff. |
Are you planning to share the Jsonbatch demo site on heroku as well? I'm also trying to figure out if and how this can handle conditionals based on the responses. Interesting project.
The text was updated successfully, but these errors were encountered: