Find Jobs
Hire Freelancers

Help resolve URL Pattern Issue in Spring

$10 USD

Completed
Posted over 4 years ago

$10 USD

Paid on delivery
Need assistance from developer calling the URL, http://localhost:8080/[war file]/api/vase/123 with the below configurations. I get the error "Request method 'DELETE' not supported" on the server and "405 Method not allowed" on the client. It only works if RequestMapping in class is @RequestMapping(value="/api", method = [login to view URL]). "/api/vase/123" does not work. An expert should be able to quickly resolve this issue live with me on chat. 1) [login to view URL] <web-app xmlns:xsi="[login to view URL]" xmlns="[login to view URL]" xsi:schemaLocation="[login to view URL] [login to view URL]" id="WebApp_ID" version="3.0"> .... <servlet> <servlet-name>abc</servlet-name> <servlet-class>[login to view URL]</servlet-class> <init-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/[login to view URL]</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>abc</servlet-name> <url-pattern>/api/*</url-pattern> <url-pattern>*.do</url-pattern> </servlet-mapping> .. </web-app> 2) Controller class @Controller public class VaseDelete { @RequestMapping(value="/api/vase/{idx}", method = [login to view URL]) public @ResponseBody void deleteFile(@PathVariable("idx") String uuid, HttpServletResponse response, HttpServletRequest request) { try{ [login to view URL]("text/plain"); [login to view URL]().write("200"); }catch(Throwable th){ } } }
Project ID: 23489755

About the project

8 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi I have 7+ years of experience with spring and springboot. worked with various rest APIs(get/put/post/delete) will be able to complete your work on time with the best quality
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
8 freelancers are bidding on average $29 USD for this job
User Avatar
Hi, i am a software engineer expert in java and spring boot. see my profile. we can discuss more over chat. Thanks Kamran
$30 USD in 1 day
5.0 (39 reviews)
6.2
6.2
User Avatar
Hello, ready to help you. Can start ASAP. Done lots of projects with REST API on Spring. Message me to discuss more. Regards, Alex.
$10 USD in 7 days
5.0 (1 review)
3.1
3.1
User Avatar
I have the proper solution to help you in this. Worked in the same area for more than 2 years and has develoled many applications like similar structure.
$45 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I think this will be a very easy fix and it could be my first freelance job. I would really like to solve the problem and already have some ideas on mind how to make it work.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Atlanta, United States
4.9
28
Payment method verified
Member since Jun 3, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.