Topic: "/post/update.json" problems

Posted under e621 Tools and Applications

I was testing with the API, and found "https://e621.net/post/update.json" not to work. it didn't return an error like "https://e621.net/post/show.json" does (no id or md5), but it redirects to "https://e621.net/post/show?id=#<Proc:0x00000004dde088@/home/e621/e621-production/releases/20160126060000/app/controllers/post_controller.rb:15 (lambda)>", which doesn't exist. I just want to be able to update posts from my code. Any help? I can give any information that's needed.

Updated

Furrin_Gok said:
What is this for?

Just a personal project, increasing my programming knowledge, and learning it now so I can use it easily in the future.
Or if you meant this exact project, it takes an image, uses some logic, and asks if tag X is in the image. Then, it would update the tags accordingly.

Updated by anonymous

Looks like I fixed it, had to use "Method" -> "POST" instead of default.

Updated by anonymous

  • 1