김수현
10/05/2023, 1:45 AMconst prefix = '/api/user';
export const postItem: MockingType = {
request: {
method: 'POST',
endpoint: `${prefix}/([0-9]*)/item`,
},
the api I want to connect is /api/user/1/item,
I've tried (d+), \d\, [0-9]* etc in that point between ${prefix} and item.