Jump to content

Newbie Question


GregMo

Recommended Posts

GregMo

I was looking to use the API to add a title to a playlist and couldn't figure it out.  One of my main concerns was that emby wasn't logging my failed attempts to the log file at all.  Any how, I finally figured it out so I'm posting hopefully that others will come across it who are stuck like I was.

Cheers

curl -X POST -H "X-Emby-Token: fd9f7c0a60114a4c9f67b4c8a19447da" -H "Content-Type: application/json" \
    -d '{"Ids": "248261", "UserId": "501de38c93b6464c80776a945bdf9e6f"}' \
    http://10.0.0.107:8096/Playlists/261198/Items
 

Edited by GregMo
Link to comment
Share on other sites

Quote

failed attempts to the log file at all

Hi there, what does "log file file" mean?

Link to comment
Share on other sites

GregMo
On 5/22/2021 at 2:32 PM, Luke said:

Hi there, what does "log file file" mean?

The emby server log

Link to comment
Share on other sites

Ok, If you're not seeing the http request in the server log, then most likely that means the http request is not even reaching your server.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...