Allowed HTTP Requests

There are 4 types of HTTP requests that you can use with the AnswerHub REST API.

  • GET make requests to retrieve information (badge information, analytics, etc) from the AnswerHub platform.
  • POST requests create new instances of entities (topics, questions, etc.) on the AnswerHub platform.
  • PUT requests update or extend the state of existing entities (up-voting, down-voting, etc) on the AnswerHub platform.
  • DELETE requests remove instances of entities (remove topic, remove answer, etc) from the AnswerHub platform.

📘

Note:

The HTTP method of a request can be overridden with request parameter ?_method=METHOD


What’s Next