Issues with antiforgery token

Hi @seuadr. Welcome to the Postman Community!

A “415- unsupported media type” is typically not an error you get for providing an invalid CSRF token.

I see that you did not specify a request body in the public workspace you shared, and hence the server might be complaining about that since technically, the “content-type” is null.

Since this is a POST request, please check the documentation again to be certain you’re including all required parameters(including a request body). Additionally, since this is a login request, there has to be some way of passing the login credentials as CSRF tokens are not authentication credentials or mechanisms.

1 Like