You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to have %2F encoded in order to identify the project in the GitLab API. According to their API documentation:
If using namespaced projects call make sure that the NAMESPACE/PROJECT_NAME is URL-encoded, eg. /api/v3/projects/diaspora%2Fdiaspora (where / is represented by %2F).
However, if I make this call, the underlying code in HTTPBuilder calls a constructor of java.net.URI which escapes the % causing it to be %%2F, which then returns a 404 Not Found from the server. Similarly I can't just put /, because that also returns a 404 Not Found. I must send just %2F.
I can't find a way to pass the path so that URI doesn't escape the %.
The text was updated successfully, but these errors were encountered:
I cannot find a way to encode a forward-slash (
/
) into apath
in HTTPBuilder (as%2F
).Example:
I need to have
%2F
encoded in order to identify the project in the GitLab API. According to their API documentation:However, if I make this call, the underlying code in HTTPBuilder calls a constructor of
java.net.URI
which escapes the%
causing it to be%%2F
, which then returns a404 Not Found
from the server. Similarly I can't just put/
, because that also returns a404 Not Found
. I must send just%2F
.I can't find a way to pass the
path
so thatURI
doesn't escape the%
.The text was updated successfully, but these errors were encountered: