Hi, To authorize in one service I need to add a p...
# ktor
g
Hi, To authorize in one service I need to add a parameter to an already built url https://codeforces.com/api/help
Copy code
If your key is xxx, secret is yyy, chosen rand is 123456 and you want to access method contest.hacks for contest 566, you should compose request like this: <http://codeforces.com/api/contest.hacks?contestId=566&apiKey=xxx&time=1562541774&apiSig=123456<hash>>, where <hash> is sha512Hex(123456/contest.hacks?apiKey=xxx&contestId=566&time=1562541774#yyy)
But StringValuesBuilder denies doing it
Copy code
java.lang.IllegalStateException: Cannot modify a builder when final structure has already been built
Do you know any solution for this problem? Maybe there is a way to solve the problem that I do not see
👋🏻 1