-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Integration test with pedestal-api example #43
Comments
@oliyh using: I tried the following in a REPL:
|
Hi, The first thing that stands out is your JSON header interceptor. Firstly, that shouldn't be required (Martian supports it already, and autodetects usage from the consumes/provides directive on Swagger). Secondly, you wouldn't concat it, as then it will run after the interceptor that actually performs the request. You would want to have it before the request interceptor. Also you should be using the default interceptors from martian-http rather than martian.core otherwise you won't have an interceptor that performs the request at all! I suggest you look at the interceptors inside martian-http/default-interceptors to see how they build the request up and then process the response. |
Sorry I didn't mean to close this issue. Also I notice that what I said above might not apply to the bootstrap phase (but will apply once you get this issue sorted!). I'll have a closer look at this later unless you manage to solve it in the meantime. |
As many examples are based on pedestal-api we need to make sure it always works!
The text was updated successfully, but these errors were encountered: