我们如何在NodeJS中发出这样的HTTP请求呢?欢迎使用示例或模块。
curl https://www.googleapis.com/urlshortener/v1/url \ -H 'Content-Type: application/json' \ -d '{"longUrl": "http://www.google.com/"}'
https://stackoverflow.com/questions/8675688
相似问题