Skip to content

Instantly share code, notes, and snippets.

@Baozi2
Created April 28, 2018 05:54
Show Gist options
  • Save Baozi2/b04f65fc3d4abfdfa402e7c86af3da08 to your computer and use it in GitHub Desktop.
Save Baozi2/b04f65fc3d4abfdfa402e7c86af3da08 to your computer and use it in GitHub Desktop.
ruby gem faraday when request path /
如果设置了 prefix_url为 http://test.com/api
如果此时 get '/', { name: 1} 则请求路径会变为 http://test.com?name=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment