Skip to content

Commit

Permalink
removed more json endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimecasero committed Feb 19, 2018
1 parent 6a84a7f commit 8a10c83
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 120 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,6 @@ public Response getNotificationGeolocationAsXml(@PathParam("accountSid") final S
return getGeolocation(accountSid, sid, retrieveMediaType());
}

@Path("/Notification/{sid}.json")
@PUT
public Response updateNotificationGeolocationAsJsonPut(@PathParam("accountSid") final String accountSid,
@PathParam("sid") final String sid, final MultivaluedMap<String, String> data) {
return updateGeolocation(accountSid, sid, data, APPLICATION_JSON_TYPE);
}

@Path("/Notification")
@POST
public Response putNotificationGeolocationXmlPost(@PathParam("accountSid") final String accountSid,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public Response getProfilesAsJson(@Context UriInfo info) {
}

@POST
@Consumes(PROFILE_CONTENT_TYPE)
@Consumes({PROFILE_CONTENT_TYPE,APPLICATION_JSON})
@Produces(PROFILE_CONTENT_TYPE)
public Response createProfileAsJson(InputStream body, @Context UriInfo info) {
return createProfile(body, info);
Expand Down

0 comments on commit 8a10c83

Please sign in to comment.