DELETE using CURL with encoded URL

后端 未结 2 676
忘了有多久
忘了有多久 2021-02-04 23:38

I’m trying to make a request using CURL like this:

curl -X DELETE \"https://myhost/context/path/users/OXYugGKg207g5uN/07V\" 

where OXYugG

2条回答
  •  北海茫月
    2021-02-05 00:09

    If really OXYugGKg207g5uN/07V is the hash then you need to encode that, not the whole url. You can use an encoding function available inside the environment you use cURL in.

提交回复
热议问题