Put method return 200 but doens´t change the endpoint


I isolated the code here to show my issue. I´m doing a simples request to API with PUT method on Node.

const axios = require("axios");

async function updateCount() {
  const url = ``;

  try {
    const response = await axios({
      method: "PUT",
      url: url,
      headers: {
        "Content-Type": "application/json",
      data: {
        data: {
          attributes: {
            Count: 7,
  } catch (error) {
    console.error("Error in PUT request:", error);

  console.log("PUT request completed");


And it will return a regular 200, but when i look on API or do a GET, the value doesn´t change.

I did the authorization on the Strapi to Public users (all)

Any tips?

This topic has been created from a Discord post (1225926403359244308) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord