I have a curl post restful request:
curl -i -X POST -d "debit_user_id=/customer/mobile_number:917827448775&recipient_id=/customer/mobile_number:9988776655/recipients/mobile_number:917526337452&pintwin=1234&amount=5000¤cy=INR&customer_id=/customer/mobile_number:9988776655&agent_id=/agents/mobile_number:919987536699" https://api.eko.co.in/transactions
How can I extract these parameters coming in the request body using jersey JAX-RS, and how to test this using a java restful API client. My final aim is to convert this request into a parameterized form and send it to my another servlet.