Skip to content

Fixes to REST API requests#8

Open
eroosenmaallen wants to merge 2 commits intohylyh:masterfrom
eroosenmaallen:eroosenmaallen/fix-errors-and-POST-params
Open

Fixes to REST API requests#8
eroosenmaallen wants to merge 2 commits intohylyh:masterfrom
eroosenmaallen:eroosenmaallen/fix-errors-and-POST-params

Conversation

@eroosenmaallen
Copy link
Copy Markdown

  • _doRestApiRequest: Push request errors onto err.allErrors
  • _doRestApiRequest: Attach full mastodonReply to err.mastodonReply to aid debugging
  • _buildReqOpts: for a POST request, put the encoded parameters into request.body instead of the request URL

* _doRestApiRequest: Attach full mastodonReply to err.mastodonReply to aid debugging
* _buildReqOpts: for a POST request, put the encoded parameters into request.body instead of the request URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant