zorro6064
zorro6064

Reputation: 484

how can pass custom params to rest get url?

I need to have a URL for passing parameters to my rest server like below: http://localhost:8080/myprojectName/resrtApp?Name=$Name&LastName=$LastName&Message=$Message&UserId=$UserId

I used jersey for my rest server. how can I define this pattern in @Path?

Upvotes: 0

Views: 172

Answers (1)

User2709
User2709

Reputation: 573

You can consider using the queryparam I think. An example is here

Upvotes: 1

Related Questions