axios / axios-docs

Official documentation for the axios HTTP library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The docs imply the default message type is application/x-www-form-urlencoded in the Spanish version instead of JSON

iRod3s opened this issue · comments

Describe the bug
The docs says exactly the oposite to the correct information

Location
Steps to localize the error:

  1. Visit https://axios-http.com/es/docs/urlencoded or visit posts/es/urlencoded.md in this repo
  2. The error is in the first body line

Expected behavior
The default is sending JSON. The message says that you should follow the docs page if you want to send OTHER type than application/x-www-form-urlencoded, hinting that the default is application/x-www-form-urlencoded

Additional context
PR solving the issue: #173