Hi All,

Please help. This is urgent..

Using the enRoute OSGi REST provider


1.       How do I set the @Path annotation for my classes and methods?  
Basically, I want to differentiate *HTTP GET* catered by getFoo() methods 
present in different classes. I thought,I can do this based on URI (@Path) 
differentiation.



2.       Secondly, please let me now, how do write a postFoo()function  to 
decipher the JSON data sent via HTTP POST.


Thanks,
Manoj

From: Manoj Venkatesh Rajamani (Product Engineering Service)
Sent: 30 September 2016 12:05
To: 'OSGi Developer Mail List' <osgi-dev@mail.osgi.org>
Subject: RE: [osgi-dev] Help

Also can someone tell me how to specify the @Path annotation. Should we create 
one in the Java package?

From: Manoj Venkatesh Rajamani (Product Engineering Service)
Sent: 30 September 2016 09:27
To: OSGi Developer Mail List 
<osgi-dev@mail.osgi.org<mailto:osgi-dev@mail.osgi.org>>
Subject: RE: [osgi-dev] Help

Hi All,

In the upper application (QS tutorial) code:

I want to perform a simple HTTP POST http://localhost:8080/rest/

I send the POST request using curl using –d ‘ { Json based structure}‘ for some 
functionality.

Now, How do I write a function in the Upper App so that I can read this json 
data (sent vial curl http post) ?

Need urgent help.

Thanks,
Manoj

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to