https://linen.dev logo
#help
Title
# help
o

Omnia Hassan

12/13/2023, 2:59 PM
👋 Hello, team! i am using wiremock to mock reponses for other services now i want to implement a request to accept csv file in its body and return 200ok response this is my code
Copy code
{
  "request": {
    "method": "POST",
    "urlPathPattern": "/students/import",
    "multipartPatterns": [
      {
        "bodyPatterns": [
          {
            "equalToJson": "{}"
          }
        ]
      }
    ]
  },
  "response": {
    "status": 200,
    "bodyFileName": "uploadStudentsData_res.json",
    "headers": {
      "Content-Type": "application/json"
    }
  }
}
but when making my request i get Request was not matched any clue?