@GET
.
.
.
public Optional<List<ScoredPromotion>> selectPromotions(@PathParam("client_id") String client_id,
@PathParam("coll_id") String coll_id,
@QueryParam("num_slots") Integer num_slots,
@QueryParam("uid") String uid)
When I try
http://localhost:8080/v1/selection/aol/aol_PA?num_slots=10
it works fine. When I try
http://localhost:8080/v1/selection/aol/aol_PA?num_slots=badparam
I get a 404 Not found.
Is this the right status? I would've expected something like 400 Bad Request or something.
Anyone have any insight?
Thanks.
----
Saad
--
You received this message because you are subscribed to the Google Groups "dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-us...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.