Post method in Postman but it is showing as Get method in Railway log
Deployed a sping boot app using railway and when i use the domain and tried to login using post method
but it is showing like this
t java.lang.Thread.run(Thread.java:833) [?:?]
Nov 03 17:39:06
2023-11-03T12:09:06.656Z INFO 1 --- [nio-6866-exec-3] o.s.w.f.OncePerRequestFilter : Header : null
Nov 03 17:39:06
2023-11-03T12:09:06.658Z INFO 1 --- [nio-6866-exec-3] o.s.w.f.OncePerRequestFilter : Invalid Header Value !!
Nov 03 17:39:06
2023-11-03T12:09:06.663Z WARN 1 --- [nio-6866-exec-3] c.k.c.E.E.ExceptionResponseController : HttpRequestMethodNotSupportedException occurred: Request method 'GET' is not supported
Nov 03 17:39:06
org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' is not supported
Nov 03 17:39:06
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java:265) ~[spring-webmvc-6.0.10.jar!/:6.0.10]
4 Replies
Project ID:
N/A
GitHub
GitHub - Nasheershaik/Test12
Contribute to Nasheershaik/Test12 development by creating an account on GitHub.
Solution
make sure you are using https when making api calls
Thank you