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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -