rest - Java server, post parameter is null -
the server side java , looks this:
@post @produces(mediatype.text_plain) //application_json @consumes(mediatype.text_plain) //application_json @path("/signup") public string update_signup(@pathparam("data") string data)
i tried this
public string update_signup(@pathparam("data") jsonobject data)
but no matter how configure post command (using rested (firefox addon) or postman (windows)), parameter data null on server side. several options fail 415 or 405 work, see null in data parameter value.
what missing? read
thanks
Comments
Post a Comment