【发布时间】:2019-11-26 16:53:03
【问题描述】:
我正在使用以下 API 将数据读入 android studio
http://178.62.246.236
我有以下 API 调用
/Author/GetAllAuthors
这是一个 GET 请求,不需要任何输入参数。这将返回系统上所有作者的列表
/Author/GetBooksByAuthor
这是一个 POST 请求,需要 Author_ID 作为输入。这将返回具有指定 Author_ID 的作者的所有书籍的列表
/Book/GetBookInfo
这是一个 POST 请求,需要 Book_ID 作为输入。这将返回有关具有指定 Book_ID 的书的高级信息
如何查看 POST 请求信息?
有没有类似于
的URL写法http://178.62.246.236/Author/GetAllAuthors
我已经尝试了以下各种组合,但我假设我需要某种格式。
http://178.62.246.236/#Author/GetBooksByAuthor/Author_ID:1
【问题讨论】:
-
你应该寻求API文档,如you cannot discover the endpoints
标签: java android api android-studio