horstepipe 377 Posted August 26, 2022 Posted August 26, 2022 Hello guys, I hope that somebody has a minute to help a little. I want to create lots of collections via api. From the api reference I have this command curl -X POST "http://url/emby/Collections?IsLocked=false&Name=Test12&api_key=xxx" -H "accept: application/json" but from what I know I can't use this syntax in a script as the name field has to be url encoded (there are often special signs in the name). So now I'm trying to use this format, but here I'm always getting Access token is invalid or expired curl -X POST https://url/emby/Collections --data-urlencode "Name=#Test11" --data-urlencode "Ids=5876939" -d "api_key=xx" -H "accept: application/json" What is wrong here?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now