[英]REST API Delete operation passing URL as a parameter
我有一個剩余的訂戶資源,如果它符合topic-name,country,lob和url的條件,我將需要刪除該訂戶。
http:// localhost:8080 / subscriber / topics / {topic-name} / {country} / {lob} / {url}
我應該如何發送帶有特殊字符的URL的刪除資源請求?
示例如下:
http://localhost:8080/subscriber/topics/FNOL/UK/mariane/https://endpoint.com
{url}
路徑段需要進行編碼。
http://localhost:8080/subscriber/topics/FNOL/UK/mariane/https%3A%2F%2Fendpoint.com
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.