durisvk
durisvk

Reputation: 957

code HPE_INVALID_METHOD Node js Hapi js

I am trying to make GET request to my API endpoint and when I do the request from another server to the API I see this strange error (on the API):

 170125/230803.439, [log,connection,client,error] data: {"bytesParsed":0,"code":"HPE_INVALID_METHOD"}

What does this error mean?

Upvotes: 5

Views: 6249

Answers (1)

durisvk
durisvk

Reputation: 957

I am sorry I did request on https:// I should have done it on http:// instead

Upvotes: 16

Related Questions