I have a service which has a put endpoint. I want to be able to access the url param as well as the body. How do I achieve this.
This is my endpoint:
put("/:customerNum") { foo: Foo =>
val custNum = ???
}
How do I access customerNum ?
I have a service which has a put endpoint. I want to be able to access the url param as well as the body. How do I achieve this.
This is my endpoint:
put("/:customerNum") { foo: Foo =>
val custNum = ???
}
How do I access customerNum ?
Copyright © 2021 Jogjafile Inc.
Here how you can extract things related to request: