#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Posts
    5
    Rep Power
    0

    How to call this RESTful service?


    hi friends,
    i'm new to restful services, i want to call a service that you can call it with the following curl command:
    curl -i -X POST --data "sessionKey=9ef42d3c-aaa3-494f-ba6f-c247a58ac2db&path=/contenthubfeedtest&recursive=true" http://localhost:8080/cmsadapter/contenthubfeed

    but i receive error when i run my code, can you show me how should i send data and receive the output from server(in java)?
    thanks
  2. #2
  3. Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    Superior, CO, USA
    Posts
    2,418
    Rep Power
    1712
    My psychic abilities that allow me to magically see the code you've written and know where you're getting an error are not what they should be. If you want an answer you need to give us some information like, for example, the code that you're trying to get to wok.

IMN logo majestic logo threadwatch logo seochat tools logo