• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: how to use UriComponentsBuilder for replacing pathsegment

Resolved: how to use UriComponentsBuilder for replacing pathsegment

0
By Isaac Tonny on 18/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I have a url as below
I want to change it to
I have coded as below
Its giving me output as
Not sure what is right way to use UriComponentsBuilder

Answer:

To replace placeholder with a real value, you need to call build with parameters

If you have better answer, please add a comment about this, thank you!

java spring spring-boot uri uribuilder
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: How to get Union type from an array of objects in Flow?

24/03/2023

Resolved: Modify entity using Action in C#

24/03/2023

Resolved: How to give rank on datetime column group by another column with userid in it

24/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.