-
|
How do you add/edit a post's tags via the GraphQL API? I was able to login through the API and I assume I'm supposed to use the session string somehow, but I'm not sure exactly how. Here are the queries I tried to use: Login: This command works and returns a session string. Adding tags: This command results in no changes. I tried passing an authorization header, but that didn't seem to be right. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
You need to set two cookies when sending the HTTP request for the update: |
Beta Was this translation helpful? Give feedback.
You need to set two cookies when sending the HTTP request for the update:
shm_sessionshould contain the session string received from the login command, andshm_usershould contain your username.