【问题标题】:spring-data-rest HAL base urls in api management platformapi管理平台中的spring-data-rest HAL基本url
【发布时间】:2014-10-13 21:36:23
【问题描述】:

所以我在 heroku 中托管了一个 spring-data-rest 应用程序: hotel-app.herokuapp.com

但我想在 mashape 之类的 api 管理平台中公开它。 curl --get --include "https://greekscholar-test-v1.p.mashape.com/" \ -H "X-Mashape-Key: xPlviBQhz3mshmhlL19hyJjNXJJXp1hm6H5jsn10ZrVHr4n3ZC"

所有链接都返回到我原来的 heroku 主机。如何将链接配置为仅显示相对路径,或转到 api 管理平台的主机?

【问题讨论】:

    标签: spring-data-rest hal-json


    【解决方案1】:

    您需要注册 mashape,他们会为您映射 URL。

    您应该遵循这个方便的指南:http://docs.mashape.com/add-api

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-09-02
      • 1970-01-01
      • 2016-10-24
      • 2016-09-10
      • 2015-03-03
      • 2014-03-28
      • 2017-03-15
      相关资源
      最近更新 更多