Skip to content

Internal server error #10

@PeshrawSarwar

Description

@PeshrawSarwar

POST http://127.0.0.1:8000/follow/2 500 (Internal Server Error)

i have this error when i try to

`methods: {
followUser() {
axios
.post("/follow/" + this.userId)
.then((response) => {
this.status = !this.status;

                console.log(response.data);
            })
            .catch((errors) => {
                if (errors.response.status == 401) {
                    window.location = "/login";
                }
            });
    },
},`

i think i have a problem with axios

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions