嗨,我正在建立一个Google AMP页面,在这里我调用一个API来填充下拉列表。我的API内置于.NET核心中,并且已通过JWT令牌授权。
现在在AMP中,我仅获得调用API的位置。如何通过API传递标头?
Country: x.value == event.value)[0]})" name="country"> Choose a country {{#countries}} {{name}} {{/countries}} Country: Choose a country
嗨,我正在建立一个Google AMP页面,在这里我调用一个API来填充下拉列表。我的API内置于.NET核心中,并且已通过JWT令牌授权。
现在在AMP中,我仅获得调用API的位置。如何通过API传递标头?
Country: x.value == event.value)[0]})" name="country"> Choose a country {{#countries}} {{name}} {{/countries}} Country: Choose a country