M
M
MariaCorneva2021-01-06 03:26:33
Express.js
MariaCorneva, 2021-01-06 03:26:33

Does the same URI produce different results?

Either my flask whistled, or the skis really don’t go.

I'm making an apish, attaching a screenshot of the logs.
5ff5031b4022a737530167.png
A request with status 404 occurs at:

/api/web/v1/worskpaces/5fd68ff1f634a05a24051c64/tasks/5fe9553fe1271637f08eacd4

Request with status 200:
/api/web/v1/workspaces/5fd68ff1f634a05a24051c64/tasks/5fe9553fe1271637f08eacd4


404 is received when a request is made from a browser. 200 was obtained by "collecting" the url from the working endpoints, although initially it seemed that there was an error in the routes themselves.

The funny thing is that I copy these lines directly from the logs into postman and get the appropriate responses. Please explain how these lines are different?

PS It's cool to code at night, but not always

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2021-01-06
@inoise

The titles are worth checking. The browser has a lot of things that are missing in postman for obvious reasons

M
MariaCorneva, 2021-01-06
@MariaCorneva

Well, yes, the problem is a typo in the word workspaces. Sleep well friends :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question