R
Railway13mo ago
NaSH

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]
Solution:
make sure you are using https when making api calls
Jump to solution
4 Replies
Percy
Percy13mo ago
Project ID: N/A
NaSH
NaSHOP13mo ago
GitHub
GitHub - Nasheershaik/Test12
Contribute to Nasheershaik/Test12 development by creating an account on GitHub.
Solution
Brody
Brody13mo ago
make sure you are using https when making api calls
NaSH
NaSHOP13mo ago
Thank you
Want results from more Discord servers?
Add your server