REST requests with HTTPS

Asked

Viewed 255 times

1

Good morning, everyone,

One can make a doubt... is the following: I have an application that is within a certified domain (HTTPS).

inserir a descrição da imagem aqui When I consume a REST service, I get 405 return and in the browser is informed that the connection is not secure.

inserir a descrição da imagem aqui

I know my method is POST and accessing this URL in the browser will return the HTTP 405 status... the question is: The 405 return should not be sent using a secure connection?

  • 1

    Status 405 is because the Access Method is not created. Ex: You are making a POST request when the only Method created is GET. Or even You are accessing GET and the only acceptable is POST.

  • Hey, Lucas, how’s it going? I know why I’m getting the 405 (that’s not the problem)... the doubt is referring to "unsecured connection" when the application returns this status. I wonder if it’s standard behavior or if there’s something wrong.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.