例如,以英尺和英寸为例:我怎么能把其中的一个元素分解成这样的东西:
"the person is 5 feet 11 inches tall."feet {} inches tall.".format(list[1], list[1]) #I am aware taking the same index of list will give me 5-
我使用postman来检查WooCommerce中的REST调用。当我调用Woocommerce默认API时。它显示错误的方式如下。{"message": "Sorry, you are not allowed to create resources当我试图用cURL调用显示产品API时
http://exampl