OpenBankProject / OpenBankProject/OBP-API

searchWarehouse gives URL not found if content-type: application/json missing

Open
#984 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1.7k
Forks
482
Avg merge
1d 12h
Merged PRs (30d)
15

Description

if we do not send the content-type in the header, we get:

The Requested URL /obp/v3.0.0/search/warehoudse/ALL was not found on this server

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the searchWarehouse endpoint and its request handling, then reproduce the reported behavior with and without the application/json header. Compare the responses for /obp/v3.0.0/search/warehoudse/ALL and determine the expected behavior before adding or updating coverage; done means the missing header no longer produces the reported URL-not-found response.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.